writeconf

1.0.0 • Public • Published

writeconf:

installation

npm i -g writeconf

usage

writeconf --port 8888 --apiHost http://myapi.com

This will result in a config.json file:

{
  port: 8888,
  apiHost: 'http://myapi.com'
}

usage 2

When running the command again with changed arguments, it will extend the existing config.json file

writeconf --port 666

output:

{
  port: 666,
  apiHost: 'http://myapi.com'
}

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    3
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    3

Package Sidebar

Install

npm i writeconf

Weekly Downloads

2

Version

1.0.0

License

ISC

Last publish

Collaborators

  • kwakayama