nodejs-cli-apps-best-practices
The largest Node.js CLI Apps best practices list ✨ (by lirantal)
docopt
This project is no longer maintained. Please see https://github.com/jazzband/docopt-ng (by docopt)
Our great sponsors
nodejs-cli-apps-best-practices | docopt | |
---|---|---|
11 | 29 | |
3,257 | 7,891 | |
- | 0.0% | |
6.4 | 0.0 | |
4 months ago | 27 days ago | |
JavaScript | Python | |
Creative Commons Attribution Share Alike 4.0 | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
nodejs-cli-apps-best-practices
Posts with mentions or reviews of nodejs-cli-apps-best-practices.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-02-06.
-
Mastering Node.js CLI: Best Practices and Tips
This article is inspired by this awesome GitHub repository created by @lirantal, please go ahead and have a look it's worth.
- Node.js CLI Apps Best Practices
-
Is it possible to use node outside web devlopment/ creating servers?
Indeed! I'm co-maintaining blessed-contrib and https://github.com/lirantal/nodejs-cli-apps-best-practices :-)
-
What are your preferred guides to write cool command line app?
Mine are: an article - https://blog.developer.atlassian.com/10-design-principles-for-delightful-clis/ node cli apps best practices - https://github.com/lirantal/nodejs-cli-apps-best-practices
-
Writing a CLI for others, check this out
I also maintain the Node.js CLI Apps Best Practices repository here: https://github.com/lirantal/nodejs-cli-apps-best-practices with over 2k stars 🌟
- The largest Node.js CLI Apps best practices list
- The largest Node.js CLI Apps best practices list ✨
- Show HN: I curated empathic and dev-friendly Node.js CLI apps Best Practices
- A collection of curated best practices on how to build successful, empathic, and user-friendly Node.js Command Line Interface (CLI) applications.
docopt
Posts with mentions or reviews of docopt.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-01-12.
- Docopt: Command-line interface description language
-
Building a Command Line Tool with PHP and Symfony Console
Symfony Console closely follows the well-established docopt conventions. Docopt, based on longstanding conventions from help messages and man pages, ensures a consistent and intuitive interface for describing a program's interface. Symfony Console's adherence to docopt conventions guarantees that your command line tools maintain a standardized and predictable user experience, simplifying development and user interaction.
-
CLI user experience case study
You probably already know, but just in case you don't, you might read about http://docopt.org/ It seems to me a lot of your usage ideas could be refinements of / tooling around docopt-style interfaces.
-
Gooey: Turn almost any Python command line program into a full GUI application
http://docopt.org/
Not quite what you asked for, but close: type example invocations to generate the CLI, and just pull the arguments from a dictionary at runtime.
-
Things I've learned about building CLI tools in Python
I've been using docopt to handle CLI arguments for years now.
http://docopt.org/
-
What's up, Python? The GIL removed, a new compiler, optparse deprecated
If you aren't averse to using a third party package, on my personal projects I always found https://github.com/docopt/docopt to be nice.
You can kill 2 birds with one stone by documenting your scripts while also providing the argument structure / parsing.
-
adaszko/complgen: Generate {bash,fish,zsh} completions from a single EBNF-like grammar
As for the implementation differences, complgen uses a trivial DSL that’s everybody is already familiar with more or less because it’s a slightly more rigorous version of what tools usually spit out when you do command --help (projects like docopt even use that for command line arguments parsing). Those happen to be regular languages and therefore can be represented as a Deterministic Finite Automata. complgen compiles the grammars to DFAs, minimizes the DFA and spits out shell-specific shell completions scripts that simply walk the DFA to match and complete the current input.
-
[Media] shrs: a shell that is configurable and extensible in rust
The current completion system has a list of rules of which completions to use at which time. It's purposely simple to make it as flexible as possible. The current things I'm planning is a derive macro like what clap has to generate these rules. I'm also considering introducing a plugin that let's you write rules in the format of docopt
-
Docopt.sh – Command-Line Argument Parser for Bash 3.2, 4, and 5
For anyone unfamiliar, docopt is an established standard for specifying arguments in a script’s doc string. I use it for Python and it’s lovely. You’re going to write a docstring with examples anyway, why not make them functional?
http://docopt.org/
-
I am sick of writing argparse boilerplate code, so I made "duckargs" to do it for me
I like http://docopt.org/ a lot. You seem like someone who might have opinions on that.