Expand description
Library crate for the caproni CLI.
This mirrors the command tree wired up by Go’s cmd/factory.go
(urfave/cli/v3) using clap’s derive API.
Exposed as a library (in addition to the caproni binary) so
integration tests can exercise pure CLI-layer logic (clap parsing,
command-tree structure, argument-independent helper functions like
commands::update::build_repo_filter) directly, without spawning a
subprocess for every assertion.
Modules§
- buildinfo
- Build-time version information, for
caproni version’s output. - commands
- Subcommand implementations for the
caproniCLI. - drivers
- Cluster driver and deployer registration.
- exitcode
- A small carrier for “this command finished, but report a specific
non-zero exit code” – the equivalent of Go’s
cli.Exit("", code)(urfave/cli/v3’scli.ExitCoder). - hooks
- The
caproniroot command’sBefore/Afterhook equivalents.
Structs§
- Cli
- GitLab Kubernetes Development Kit.
Enums§
- Commands
- Top-level subcommands, matching
cmd/factory.go’sapp.Commandsslice.