Crypto CLI
    Preparing search index...

    Function main

    • Entry point: the interactive menu when there are no arguments and both stdin and stdout are terminals; usage on stderr with exit code 2 when there are no arguments otherwise; else the subcommands.

      Parameters

      • args: string[]

        Command-line arguments.

      • io: CliIO

        The streams to read and write.

      • menu: () => Promise<void>

        Starts the interactive menu.

      Returns Promise<number>