Skip to main content

Module cmd_path

Module cmd_path 

Source
Expand description

Standard command identifiers for provider command_flags declarations.

Providers use StandardCommand variants as keys in their command_flags slice to associate extension flags with specific commands.

§Example

use obz_core::cmd_path::StandardCommand;

static MY_FLAGS: &[(StandardCommand, &[obz_core::FlagDescriptor])] = &[
    (StandardCommand::MetricQuery, &[]),
    (StandardCommand::LogSearch, &[]),
];

Enums§

StandardCommand
Identifies a standard (core) command in the obz CLI.