Module cli

Source
πŸ”¬This is a nightly-only experimental API. (test)
Expand description

Module converting command-line arguments into test configuration.

MacrosΒ§

unstable_optflag πŸ”’ Experimental
unstable_optopt πŸ”’ Experimental

StructsΒ§

TestOptsExperimental

FunctionsΒ§

get_allow_unstable πŸ”’ Experimental
get_color_config πŸ”’ Experimental
get_format πŸ”’ Experimental
get_log_file πŸ”’ Experimental
get_nocapture πŸ”’ Experimental
get_run_ignored πŸ”’ Experimental
get_shuffle πŸ”’ Experimental
get_shuffle_seed πŸ”’ Experimental
get_test_threads πŸ”’ Experimental
get_time_options πŸ”’ Experimental
is_nightly πŸ”’ Experimental
optgroups πŸ”’ Experimental
parse_optsExperimental
Parses command line arguments into test options. Returns None if help was requested (since we only show help message and don’t run tests), returns Some(Err(..)) if provided arguments are incorrect, otherwise creates a TestOpts object and returns it.
parse_opts_impl πŸ”’ Experimental
usage πŸ”’ Experimental

Type AliasesΒ§

OptPartRes πŸ”’ Experimental
Result of parsing the option part.
OptRes πŸ”’ Experimental
Result of parsing the options.