askconfig
Node.js module to ask for configuration via interactive shell
Last updated a year ago by okunishinishi .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install askconfig 
SYNC missed versions from official npm registry.

askconfig

Build Status Code Climate Code Coverage npm Version JS Standard

Node.js module to ask for configuration via interactive shell

Installation

npm install askconfig --save

Usage

#!/usr/bin/env node
'use strict'

const askconfig = require('askconfig')

askconfig({
  name: 'default-name',
  description: ''
}).then((result) => {
  if (err) {
    console.error(err)
    process.exit(1)
  } else {
    console.log(`Result: ${result}`)
    process.exit(0)
  }
})


License

This software is released under the MIT License.

Current Tags

  • 4.0.4                                ...           latest (a year ago)

14 Versions

  • 4.0.4                                ...           a year ago
  • 4.0.2                                ...           2 years ago
  • 4.0.1                                ...           2 years ago
  • 4.0.0                                ...           3 years ago
  • 3.0.5                                ...           4 years ago
  • 3.0.4                                ...           4 years ago
  • 3.0.3                                ...           4 years ago
  • 3.0.2                                ...           4 years ago
  • 3.0.1                                ...           4 years ago
  • 3.0.0                                ...           4 years ago
  • 2.0.1                                ...           4 years ago
  • 2.0.0                                ...           4 years ago
  • 1.0.1                                ...           5 years ago
  • 1.0.0                                ...           5 years ago

Copyright 2014 - 2017 © taobao.org |