Skip to main content

RootNextActions

Type Alias RootNextActions 

Source
pub type RootNextActions = Arc<dyn Fn() -> Vec<NextAction> + Send + Sync>;
Expand description

Hook that supplies the suggested next actions shown when the CLI is invoked with no subcommand (bare root). The same actions drive a human “Next actions” section and the JSON discovery envelope.

Aliased Type§

pub struct RootNextActions { /* private fields */ }