Bootstrap::CLI
Base CLI registry with shared helpers for busybox-style dispatch.
Class methods
Selects a command name based on the executable name or the first argument when invoked via the canonical name.
Returns the basename of the invoked executable, falling back to default when it cannot be resolved (e.g., when Process.executable_path is nil).
parse(args : Array(String), banner : String, &block : OptionParser -> ) : Tuple(OptionParser, Array(String), Bool)
Builds an OptionParser with a common -h/--help toggle and returns the parser plus the parsed args array so callers can inspect remaining args.
Run the command with the provided args and command name.
run_install
Create CLI symlinks in ./bin for registered commands that are exposed as symlinks (excluding default/flag-only entries).