Why Nostr? What is Njump?
2025-05-04 06:27:25
in reply to

mleku on Nostr: IMO the design scheme used in the Go tools is better - you have subcommands and you ...

IMO the design scheme used in the Go tools is better - you have subcommands and you have flags on subcommands, generally you try to keep that simple and not use flags very much and constrain them to common patterns like -v for verbose and -o for output

i don't think that CLI commands are "written for machines" either, they are just meant to be composable as scripts for a shell, and shells have also got a bunch of logic statements like if and do-until and similar. they are basically APIs, and usually flags are like configurations, usually all of them have a default if not given
Author Public Key
npub1fjqqy4a93z5zsjwsfxqhc2764kvykfdyttvldkkkdera8dr78vhsmmleku