Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

nowa-core-bundler

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nowa-core-bundler

The bundler for nowa itself

  • 2.0.0-alpha.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

// TODO 提示信息国际化方案 // TODO 从组件中读取并进行配置 // TODO 配置读取功能 // TODO 组件读取功能 // TODO 全局模式别去找 npm。有可能安装在其他地方。。。@nowaGUI // https://www.npmjs.com/package/source-map-support

var yargs = require('yargs') .usage('$0 command') .command('hello', 'hello command') .command('world', 'world command') .demandCommand(1, 'must provide a valid command'), argv = yargs.argv, command = argv._[0];

if (command === 'hello') { yargs.reset() .usage('Usage: $0 hello') .help('h') .example('$0 hello', 'print the hello message!') .argv;

console.log('hello!'); } else if (command === 'world') { yargs.reset() .usage('$0 world') .help('h') .example('$0 world', 'print the world message!') .argv;

console.log('world!'); } else { yargs.showHelp(); }

FAQs

Package last updated on 29 Aug 2017

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc