@codedungeon/gunner
node cli starter framework
Last updated a year ago by codedungeon .
MIT · Repository · Bugs · 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.9.1                                ...           latest (a day ago)

7 Versions

  • 0.9.1                                ...           a day ago
  • 0.8.0                                ...           25 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 1
This Week 10
This Month 10
Last Day 9
Last Week 0
Last Month 22
Dependencies (11)
Dev Dependencies (10)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |