writeconf

## installation `npm i -g writeconf`

Usage no npm install needed!

<script type="module">
  import writeconf from 'https://cdn.skypack.dev/writeconf';
</script>

README

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'
}