@adobe/aio-cli-plugin-config
Config Plugin for the Adobe I/O CLI
Last updated 2 months ago by shazron .
Apache-2.0 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @adobe/aio-cli-plugin-config 
SYNC missed versions from official npm registry.

oclif Version Downloads/week Build Status License Greenkeeper badge Codecov Coverage

aio-cli-plugin-config

Config Plugin for the Adobe I/O CLI

Usage

$ npm install -g @adobe/aio-cli-plugin-config
$ ./bin/run COMMAND
running command...
$ ./bin/run (-v|--version|version)
@adobe/aio-cli-plugin-config/2.0.1 darwin-x64 node-v10.16.0
$ ./bin/run --help [COMMAND]
USAGE
  $ ./bin/run COMMAND
...

Commands

./bin/run config

list, get, set, delete, and edit persistent configuration data

USAGE
  $ ./bin/run config

OPTIONS
  -e, --env     environment variables
  -g, --global  global config
  -j, --json    output in json
  -l, --local   local config
  -y, --yaml    output in yaml
  --verbose     show all config values

ALIASES
  $ ./bin/run config:ls

EXAMPLES
  $ aio config:list
  $ aio config:get KEY
  $ aio config:set KEY VALUE
  $ aio config:delete KEY
  $ aio config:clear

See code: src/commands/config/index.js

./bin/run config:clear

clears all persistent config values

USAGE
  $ ./bin/run config:clear

OPTIONS
  -f, --force   do not prompt for confirmation
  -g, --global  global config
  -l, --local   local config

See code: src/commands/config/clear.js

./bin/run config:delete KEYS...

deletes persistent config values

USAGE
  $ ./bin/run config:delete KEYS...

OPTIONS
  -g, --global  global config
  -l, --local   local config

ALIASES
  $ ./bin/run config:del
  $ ./bin/run config:rm

See code: src/commands/config/delete.js

./bin/run config:edit

edit config file

USAGE
  $ ./bin/run config:edit

OPTIONS
  -g, --global  global config
  -l, --local   local config

See code: src/commands/config/edit.js

./bin/run config:get KEY

gets a persistent config value

USAGE
  $ ./bin/run config:get KEY

OPTIONS
  -e, --env     environment variables
  -g, --global  global config
  -j, --json    output in json
  -l, --local   local config
  -y, --yaml    output in yaml

See code: src/commands/config/get.js

./bin/run config:list

lists all persistent config values

USAGE
  $ ./bin/run config:list

OPTIONS
  -e, --env     environment variables
  -g, --global  global config
  -j, --json    output in json
  -l, --local   local config
  -y, --yaml    output in yaml
  --verbose     show all config values

ALIASES
  $ ./bin/run config:ls

See code: src/commands/config/list.js

./bin/run config set key 'a value' # set key to 'a value'

sets a persistent config value

USAGE
  $ ./bin/run config set key 'a value'       # set key to 'a value'
  $ ./bin/run config set key -f value.json   # set key to the json found in the file value.json
  $ ./bin/run config set -j key < value.json # set key to the json found in the file value.json

OPTIONS
  -f, --file         value is a path to a file
  -g, --global       global config
  -i, --interactive  prompt for value
  -j, --json         value is json
  -l, --local        local config
  -y, --yaml         value is yaml

See code: src/commands/config/set.js

Current Tags

  • 2.0.1                                ...           latest (2 months ago)

6 Versions

  • 2.0.1                                ...           2 months ago
  • 2.0.0                                ...           2 months ago
  • 1.0.7                                ...           7 months ago
  • 1.0.6                                ...           a year ago
  • 1.0.5                                ...           a year ago
  • 1.0.4                                ...           a year ago

Copyright 2014 - 2017 © taobao.org |