issue_tree
    Preparing search index...

    Function runCli

    • The issue_tree CLI entry point.

      A bare invocation, a help subcommand, or --help/-h anywhere on the line prints help to stdout and returns 0 (see parseCommand). Only a real parse error — an unknown subcommand or a bad flag — writes to stderr and returns 2.

      Parameters

      • argv: string[]

        arguments after the node/script entries

      Returns Promise<number>

      the process exit code

      await main(['render', '--format', 'json'])  // => 0
      await main(['--help']) // => 0 (prints general help)