1 Command Line Experience
The largest Node.js CLI Apps best practices list ✨
This page lists names, links and short descriptions. The original list on GitHub is the source and belongs to its authors.
1.1 Respect POSIX args
1.3 Stateful data
1.4 Provide a colorful experience
1.5 Rich interactions
1.6 Hyperlinks everywhere
✅ Do: Use properly formatted hyperlinks in text output for both URLs (e.g:
as well as source code (e.g: src/Util.js:2:75) - both of which a modern terminal is able to transform into a clickable link.
open
Opens stuff like websites, files, executables. Cross-platform.
1.7 Zero configuration
Parcel
, a web application bundler
1.9 Provide helpful help
2 Distribution >2.1 Prefer a small dependency footprint
Bundlephobia
is a tool to help you find the cost of a npm package.
2 Distribution >2.2 Use the shrinkwrap, Luke
3 Interoperability >3.4 Support configuration precedence
3 Interoperability >3.5 Gate interactive behavior
3 Interoperability >3.7 Provide shell completion
6 Errors >6.3 Provide debug mode
12 Appendix: CLI educational resources
@simonplend
and @dolearning's workshop on crafting human friendly CLIs
Related lists in Back-End Development
See categoryAwesome Docker
veggiemonk/awesome-docker
:whale: A curated list of Docker resources and projects
Awesome GraphQL
chentsulin/awesome-graphql
Awesome list of GraphQL
Awesome-Kubernetes
ramitsurana/awesome-kubernetes
A curated list for awesome kubernetes sources :ship::tada:
Awesome Quant
wilsonfreitas/awesome-quant
A curated list of insanely awesome libraries, packages and resources for Quants (Quantitative Finance)
Awesome Django
wsvincent/awesome-django
A curated list of awesome things related to Django
Awesome Terraform
shuaibiyy/awesome-tf
Curated list of resources on HashiCorp's Terraform and OpenTofu