sys::Cli
- Inherits: api::ExecutionContext
public
- sys::Cli::HandleVersion
- sys::Cli::ShowHelp
Functions
#
Cli(int argc, char *argv[])sys::Cli::Cli (int argc, char *argv[])
#
app_git_hash() constinline
const char * sys::Cli::app_git_hash () const
Type: const char *
#
at(u16 value) constvar::StringView sys::Cli::at (u16 value) const
Type: var::StringView
Parameters:
u16
value
#
count() constinline
u32 sys::Cli::count () const
Type: u32
#
get_name() constvar::StringView sys::Cli::get_name () const
Type: var::StringView
#
get_option(var::StringView name, var::StringView help=var::StringView()) constvar::StringView sys::Cli::get_option (var::StringView name, var::StringView help=var::StringView()) const
Type: var::StringView
Parameters:
- var::StringView
name
- var::StringView
help
#
get_path() constvar::StringView sys::Cli::get_path () const
Type: var::StringView
#
handle_version(const HandleVersion &options) constconst Cli & sys::Cli::handle_version (const HandleVersion &options) const
Type: const Cli &
Parameters:
- const HandleVersion &
options
#
operator()(const HandleVersion &options) constinline
const Cli & sys::Cli::operator() (const HandleVersion &options) const
Type: const Cli &
Parameters:
- const HandleVersion &
options
#
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) constconst Cli & sys::Cli::show_help (const ShowHelp &options) const
Type: const Cli &
Parameters:
- const ShowHelp &
options
#
show_version(const ShowHelp &options) constconst Cli & sys::Cli::show_version (const ShowHelp &options) const
Type: const Cli &
Parameters:
- const ShowHelp &
options
#
size() constinline
u32 sys::Cli::size () const
Type: u32
#
to_general_string() constvar::GeneralString sys::Cli::to_general_string () const
Type: var::GeneralString