@codedungeon/gunner
node cli starter framework
Last updated a year ago by codedungeon .
MIT · Original npm · Tarball · package.json
$ cnpm install @codedungeon/gunner 
SYNC missed versions from official npm registry.

Gunner

Description

Codedungeon Slimlined CLI Framework

Installation

Using npm

> npm install -g @codedungeon/gunner

Using yarn

> yarn add global @codedungeon/gunner

Usage

  • Create index.js file and add the following (showing the bare minimum required)
#!/usr/bin/env node

const path = require('path')
let CLI = require('@codedungeon/gunner')

const app = new CLI(process.argv)
  .usage('gunner make:command TestCommand --name test:command')
  .options()
  .examples('make:command TestCommand --name hello')
  .run({ name: 'default' })
  • Create new command in the commands directory (create if it does not exists)

License

Copyright © 2019-2020 Mike Erickson Released under the MIT license

Credits

Gunner written by Mike Erickson

E-Mail: mike.erickson@codedungeon.io

Twitter: @codedungeon

Website: codedungeon.io

Current Tags

  • 0.8.0                                ...           latest (19 days ago)

6 Versions

  • 0.8.0                                ...           19 days ago
  • 0.0.6                                ...           a year ago
  • 0.0.5                                ...           a year ago
  • 0.0.3                                ...           a year ago
  • 0.0.1                                ...           a year ago
  • 0.0.1-dev.9                                ...           a year ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 22
Dependencies (10)
Dev Dependencies (5)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |