yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
test_common.cc File Reference
#include "cli/handlers/agent/test_common.h"
#include <cctype>
#include <iostream>
#include <string>
#include "absl/strings/numbers.h"
#include "absl/strings/str_cat.h"
#include "absl/strings/str_split.h"
#include "absl/strings/strip.h"
#include <unistd.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)