Skip to main content

Module cli

Module cli 

Source
Expand description

CLI surface: Cli/Commands enum + unified dispatch.

Guiding principles (see cli/README.md for the long form):

  • High-frequency commands are flat: init, gen, build, run, ps, logs, start/stop/restart/rm, check, doc.
  • Low-frequency / fine-grained operations are grouped: deps, pkg, registry, dlq.
  • Meta commands sit at the top level: config, version, completion.
  • Every subcommand implements crate::core::Command; main dispatches through a single cmd.execute(&ctx) call and only builds a ServiceContainer when cmd.required_components() is non-empty.

Structs§

Cli
Top-level actr CLI.

Enums§

Commands

Functions§

build_cli
Build the raw clap clap::Command for completion-script generation.
run
Entry point for main.rs.