3 ms·
Do you have any examples that aren’t confusing and super complicated?
by lazide 4y ago
Do you have any examples that aren’t confusing and super complicated?
- __turbobrew__ 4y agoI think the aws cli is a decent example. It isn’t perfect by any means but it demonstrates how to handle config files, environment variables, and command line arguments in a usable way: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-files.html#cli-configure-files-where https://docs.aws.amazon.com/cli/latest/userguide/cli-configu...
- __turbobrew__ 4y agoKind of related but not: if you are interested in cli design I recommend this guide as well: https://clig.dev/ https://clig.dev/ I think people are overly focused on how crappy Unix tools from the previous millennia are (ls, sendmail, dd, etc…) but I do truly believe that cli tools can be ergonomic because I have used and built tools which feel ergonomic.