@diwala/configurator

This is a all purpose configurator for node & javascript apps

Stats

stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
05May 11, 2021Aug 8, 2018Minified + gzip package size for @diwala/configurator in KB

Readme

config-cli

This is a all purpose configurator for node & javascript apps

oclif Version CircleCI Codecov Downloads/week License

configurator help [COMMAND]

display help for configurator

USAGE
  $ configurator help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

configurator setup TOKEN

this is used by to setup all service configs based on a strict github folder structure

USAGE
  $ configurator setup TOKEN

ARGUMENTS
  TOKEN  Github API token

OPTIONS
  -b, --branch=branch            [default: master] The branch you want to target

  -e, --environment=environment  [default: dev] environment to choose, will use this folder under your choosen
                                 service/app

  -f, --service=service          (required) The folder of the service/app you want fetch configuration

  -h, --help                     show CLI help

  -r, --repo=repo                (required) Github repo the files exist

EXAMPLES
  This fetches (configuration) files based on your folder structure in your Github repo
  $ configurator d589d6c3dc87d0df365110f12ce22d5b37b5awds -r facebook/react -f .circleci
  $ configurator d589d6c3dc87d0df365110f12ce22d5b37b5awds -e sys -r facebook/watchman -f winbuild
  PS. make sure to write the repo correctly

See code: src/commands/setup.ts

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.