Skip to main content

module_cli

Attribute Macro module_cli 

Source
#[module_cli]
Expand description

Attribute macro: #[module_cli(name = "...")] - marks a struct as the module CLI entry point.

The name is the CLI command name (e.g. “sync-policy”). Emits CLI_NAME const.