@flowscripter/dynamic-cli-framework
    Preparing search index...

    Class DefaultRuntimeCLI

    Default Bun implementation of a CLI using process.stdout, process.stderr and process.argv.

    Degrades gracefully when stdin, stdout or stderr are not TTYs (e.g. piped or redirected): color and hyperlinks are disabled, prompting is disabled, and non-TTY streams are wrapped in a NonTtyTerminal rather than the usual TtyTerminal.

    Hierarchy (View Summary)

    Index
    • Add a Command to the CLI's CommandRegistry.

      If only one non-modifier Command is added, the CLI will operate as a single command CLI and the provided command will be set as a default command. If more than one command is added, the CLI will operate as a multi-command CLI. In this case the default command will be set to a help command.

      Parameters

      Returns void