MCPcopy Create free account
hub / github.com/0xShug0/audio.cpp / find_arg

Function find_arg

app/cli/args.cpp:7–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5#include <stdexcept>
6
7namespace minitts::cli {
8
9namespace {
10
11// Every option name the CLI looked for, split by whether the lookup consumes the following
12// argument. Populated by the lookups below, so a new flag is recognised the moment its lookup
13// is added and there is no second list to keep in sync.
14std::set<std::string> & value_names() {
15 static std::set<std::string> names;
16 return names;
17}

Callers 8

build_request_from_cliFunction · 0.70
set_option_from_argFunction · 0.70
parse_int_argFunction · 0.70
parse_optional_float_argFunction · 0.70
optional_path_argFunction · 0.70
has_vad_chunk_optionFunction · 0.70
mainFunction · 0.70

Calls 1

stringFunction · 0.50

Tested by

no test coverage detected