
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
@black-flag/demo
Advanced tools
$ npx -p @black-flag/demo myctl --help
Black Flag is a yargs-based library for creating deeply hierarchical CLI tools declaratively and simply.
This repository corresponds to the usage tutorial featured in the Black Flag documentation.
If you want a more advanced example of a CLI written with Black Flag but with debug-based custom error handling and listr2 + inquirer output support, check out xunnctl.
For a more in-depth look, see the tutorial corresponding to this demo repository.
You don't need to install this demo to use it. You can invoke it directly:
npx -p @black-flag/demo myctl init --lang 'node' --version=21.1
And see pretty debug text like so:
DEBUG='*' npx -p @black-flag/demo myctl init --lang 'node' --version=21.1
If you do want to install the CLI for some reason, you should install it globally:
npm install -g @black-flag/demo
Either way, you can use the --help
option to determine what the demo CLI can
do:
npx -p @black-flag/demo myctl --help
See LICENSE.
New issues and pull requests are always welcome and greatly appreciated! 🤩 Just as well, you can star 🌟 this project to let me know you found it useful! ✊🏿 Or you could buy me a beer 🥺 Thank you!
See CONTRIBUTING.md and SUPPORT.md for more information.
Thanks goes to these wonderful people (emoji key):
Bernard 🚇 💻 📖 🚧 ⚠️ 👀 |
|
This project follows the all-contributors specification. Contributions of any kind welcome!
FAQs
Unknown package
The npm package @black-flag/demo receives a total of 0 weekly downloads. As such, @black-flag/demo popularity was classified as not popular.
We found that @black-flag/demo demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.