@diwala/configurator
This is a all purpose configurator for node & javascript apps
Last updated a month ago by snorlock .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @diwala/configurator 
SYNC missed versions from official npm registry.

config-cli

This is a all purpose configurator for node & javascript apps

oclif Version CircleCI Codecov Downloads/week License

Usage

$ npm install -g @diwala/configurator
$ configurator COMMAND
running command...
$ configurator (-v|--version|version)
@diwala/configurator/0.1.0 darwin-x64 node-v9.10.0
$ configurator --help [COMMAND]
USAGE
  $ configurator COMMAND
...

Commands

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

Current Tags

  • 0.1.1                                ...           latest (a month ago)

2 Versions

  • 0.1.1                                ...           a month ago
  • 0.1.0                                ...           8 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 0
Last Month 17
Dependencies (7)
Dev Dependencies (15)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |