#include <string>
#include <vector>
#include "absl/strings/string_view.h"
Go to the source code of this file.
Namespaces | |
namespace | yaze |
Main namespace for the application. | |
namespace | yaze::cli |
Namespace for the command line interface. | |
namespace | yaze::cli::agent |
Functions | |
std::string | yaze::cli::agent::TrimWhitespace (absl::string_view value) |
bool | yaze::cli::agent::IsInteractiveInput () |
std::string | yaze::cli::agent::PromptWithDefault (const std::string &prompt, const std::string &default_value, bool allow_empty) |
std::string | yaze::cli::agent::PromptRequired (const std::string &prompt, const std::string &default_value) |
int | yaze::cli::agent::PromptInt (const std::string &prompt, int default_value, int min_value) |
bool | yaze::cli::agent::PromptYesNo (const std::string &prompt, bool default_value) |
std::vector< std::string > | yaze::cli::agent::ParseCommaSeparated (absl::string_view input) |
bool | yaze::cli::agent::ParseKeyValueEntry (const std::string &input, std::string *key, std::string *value) |