issue_tree
    Preparing search index...

    Function parseCommand

    • Parse an issue_tree command line into a typed Command.

      Parameters

      • argv: string[]

        arguments after the node/script entries (subcommand first)

      Returns Command

      the parsed, discriminated command

      Error on a missing or unknown subcommand, or a bad flag

      parseCommand(['render', '--format', 'svg']).subcommand  // => 'render'