Skip to main content

Module commands

Module commands 

Source
Expand description

CLI command handlers. Top-level CLI command handling.

The Cli type (derived from clap) describes the public command-line interface. Each subcommand lives in its own module and is free to use RommClient directly. The TUI is just another subcommand.

Modules§

api
auth
Authentication command group (romm-cli auth ...).
cache
completions
download
init
Interactive romm-cli init — writes user-level romm-cli/config.json.
library_scan
CLI presentation wrappers for shared library scan helpers in romm_api::core::library_scan.
platforms
print
roms
scan
Top-level scan command: trigger RomM scan_library without uploading.
sync
update

Structs§

Cli
Top-level CLI entrypoint for romm-cli.

Enums§

Commands
All top-level commands supported by the CLI.
OutputFormat
Defines how a command should format its output for the user.

Functions§

run
Main entrypoint for running a CLI command.