Run the nyora-cli command and return a numeric exit code.
With no subcommand (an empty or flags-only argv) this launches the
interactive module:tui | TUI via its run() and returns its code.
Otherwise it dispatches the matching subcommand. Recognized errors are printed
as error: ... (no stack trace) and mapped to exit code 1.
Parameters
argv: string[] = []
CLI arguments excludingnode and the script path
(i.e. process.argv.slice(2)).
Run the
nyora-clicommand and return a numeric exit code.With no subcommand (an empty or flags-only
argv) this launches the interactive module:tui | TUI via itsrun()and returns its code. Otherwise it dispatches the matching subcommand. Recognized errors are printed aserror: ...(no stack trace) and mapped to exit code1.