Skip to main content

sys::Cli

Functions

Cli(int argc, char *argv[])#

sys::Cli::Cli (int argc, char *argv[])

app_git_hash() const#

inline

const char * sys::Cli::app_git_hash () const

Type: const char *

at(u16 value) const#

var::StringView sys::Cli::at (u16 value) const

Type: var::StringView

Parameters:

  • u16 value

count() const#

inline

u32 sys::Cli::count () const

Type: u32

get_name() const#

var::StringView sys::Cli::get_name () const

Type: var::StringView

get_option(var::StringView name, var::StringView help=var::StringView()) const#

var::StringView sys::Cli::get_option (var::StringView name, var::StringView help=var::StringView()) const

Type: var::StringView

Parameters:

get_path() const#

var::StringView sys::Cli::get_path () const

Type: var::StringView

handle_version(const HandleVersion &options) const#

const Cli & sys::Cli::handle_version (const HandleVersion &options) const

Type: const Cli &

Parameters:

operator()(const HandleVersion &options) const#

inline

const Cli & sys::Cli::operator() (const HandleVersion &options) const

Type: const Cli &

Parameters:

set_case_sensitive(bool value=true)#

inline

Cli & sys::Cli::set_case_sensitive (bool value=true)

Type: Cli &

Parameters:

  • bool value

show_help(const ShowHelp &options) const#

const Cli & sys::Cli::show_help (const ShowHelp &options) const

Type: const Cli &

Parameters:

show_version(const ShowHelp &options) const#

const Cli & sys::Cli::show_version (const ShowHelp &options) const

Type: const Cli &

Parameters:

size() const#

inline

u32 sys::Cli::size () const

Type: u32

to_general_string() const#

var::GeneralString sys::Cli::to_general_string () const

Type: var::GeneralString