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.
menu
Command-line arguments.
The streams to read and write.
Starts the interactive menu.
Entry point: the interactive
menuwhen 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.