All Downloads are FREE. Search and download functionalities are using the official Maven repository.

package.bin.getopts.js Maven / Gradle / Ivy

The newest version!
(function(){var t,n,o,e=[].slice;n=require("path"),t=function(){function t(t){this.short_options={},this.long_options={},this.long_names=[],this.events={},this.argv=[],this.options={},this.unique_names={},this.optionsPattern=[],this.errorFunc=function(t){return console.info(t.message),process.exit(1)},process.argv[1]?this.help="Usage:\n  node "+n.basename(process.argv[1])+" [OPTION]\n\nOptions:\n[[OPTIONS]]":this.help="[[OPTIONS]]",this.append(t)}return t.HAS_ARGUMENT=!0,t.NO_ARGUMENT=!1,t.MULTI_SUPPORTED=!0,t.SINGLE_ONLY=!1,t.VERSION="0.3.2",t.prototype.append=function(t){var n,e,i,s,r,h,p,l,u,a,f,c,g;for(c=0,g=t.length;cn?1:t




© 2015 - 2024 Weber Informatics LLC | Privacy Policy