Scaffold out a CLI based on Ink
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app Move import-jsx to dependencies from devDependencies (#3) Jul 9, 2018
.editorconfig init Jul 15, 2017
.gitattributes init Jul 15, 2017
.gitignore init Jul 15, 2017
.travis.yml init Jul 15, 2017
license init Jul 15, 2017
package.json 1.0.2 Jul 9, 2018
readme.md init Jul 15, 2017
test.js init Jul 15, 2017

readme.md

generator-ink-cli Build Status

Scaffold out a CLI with Ink. Based on generator-nm by Sindre Sorhus.

Install

$ npm install --global yo generator-ink-cli

Usage

With yo:

$ yo ink-cli

There are multiple command-line options available:

$ yo ink-cli --help

  Usage:
    yo ink-cli [options]

  Options:
    --help          # Print the generator's options and usage
    --skip-cache    # Do not remember prompt answers                      Default: false
    --skip-install  # Do not automatically install dependencies           Default: false
    --org           # Publish to a GitHub organization account
    --coverage      # Add code coverage with nyc
    --codecov       # Upload coverage to codecov.io (implies --coverage)

The --org option takes a string value (i.e. --org=avajs). All others are boolean flags and can be negated with the no prefix (i.e. --no-codecov). You will be prompted for any options not passed on the command-line.

License

MIT © Vadim Demedes