Skip to main content

handle_config_command

Function handle_config_command 

Source
pub fn handle_config_command(
    args: &[String],
    out: &dyn PackageOutput,
    stdin_is_tty: bool,
    stdout_is_tty: bool,
) -> Option<PackageOutcome>
Expand description

Route pi config … if recognized. Returns None when argv[0] is not config.

--help prints the config usage block and exits 0. Otherwise, config opens the resource-config TUI (interactive) or reports that the TUI requires a terminal (non-interactive), matching the reference gate at package-manager-cli.ts:603.