Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

brokkr-agent::cli Rust

Structs

brokkr-agent::cli::Cli

pub

Derives: Parser

CLI configuration structure.

Fields

NameTypeDescription
commandCommandsCommand to execute

Enums

brokkr-agent::cli::Commands pub

Available CLI commands.

Variants

  • Start - Start the Brokkr agent

Functions

brokkr-agent::cli::parse_cli

pub

#![allow(unused)]
fn main() {
fn parse_cli () -> Cli
}

Parses command-line arguments into the Cli structure.

Returns:

  • Cli - Parsed CLI configuration
Source
#![allow(unused)]
fn main() {
pub fn parse_cli() -> Cli {
    Cli::parse()
}
}