dpup / node-flags Goto Github PK
View Code? Open in Web Editor NEWFlag handling library for node.js.
Flag handling library for node.js.
This can be as simple as:
"This code is the Public Domain."
Just don't leave it ambiguous because I can't use it otherwise.
Hi!
You guys spelled animal wrong in the flags.defineStringList() JSDoc. You spelled it "anmial". Context:
/**
* Defines a string list flag. e.g. --anmial=frog,bat,chicken
* @param {string} name The flag name, should be [a-zA-Z0-9]+.
* @param {!Array.<string>=} opt_default The default value, should the flag not
* be explicitly specified.
* @param {string=} opt_description Optional description to use in help text.
* @return {!StringListFlag} The flag object.
*/
Shouldn't take you long to fix it. I personally don't care, just wanted to point this out to you. Thanks for making such a useful library!
Thanks for adding this library to the Node.js ecosystem, I was wondering if you could add a license so that people can whose GitHub is associated with their employer can still submit patches? Thanks!
Is there a way to make a flag required? And if the flag is not present automatically print the --help text?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.