cli MVP
This commit is contained in:
parent
367c19386c
commit
1ea50c50bc
62 changed files with 9982 additions and 608 deletions
|
|
@ -1,5 +1,5 @@
|
|||
//SPDX-License-Identifier: LGPL-3.0-only
|
||||
//SPDX-FileCopyrightText: Copyright (C) 2026 Catcrafts®
|
||||
// SPDX-License-Identifier: LGPL-3.0-only
|
||||
// SPDX-FileCopyrightText: Copyright (C) 2026 Catcrafts®
|
||||
|
||||
export module Nostro:File;
|
||||
|
||||
|
|
@ -13,7 +13,7 @@ export namespace Nostro {
|
|||
fs::path configPath = GetConfigPath();
|
||||
fs::path cachePath = GetCachePath();
|
||||
void CreatePrivateFile(const fs::path& path);
|
||||
void WriteString(std::ofstream& file, std::string_view str);
|
||||
void ReadString(std::ifstream& file, std::string& str);
|
||||
std::uint16_t SeekString(std::ifstream& file);
|
||||
// A line from stdin, trimmed. On a terminal the prompt goes to stderr and what is typed is not echoed, so a key
|
||||
// never sits in the shell's history or in the process's command line. Throws when stdin ends first.
|
||||
std::string ReadSecret(std::string_view prompt);
|
||||
}
|
||||
Loading…
Reference in a new issue