/aio-cli-plugin-config

Config Plugin for the Adobe I/O CLI

Primary LanguageJavaScriptApache License 2.0Apache-2.0

oclif Version Downloads/week Build Status Build status License Greenkeeper badge

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/1.0.6 darwin-x64 node-v8.11.2
$ ./bin/run --help [COMMAND]
USAGE
  $ ./bin/run COMMAND
...

Commands

./bin/run config

get, set, delete, and clear persistent configuration data

USAGE
  $ ./bin/run config

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

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

./bin/run config:clear [KEY]

clears all persistent config values, or for a specific key

USAGE
  $ ./bin/run config:clear [KEY]

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

./bin/run config:delete [KEY]

delete a persistent config value

USAGE
  $ ./bin/run config:delete [KEY]

ALIASES
  $ ./bin/run config:del

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

./bin/run config:get [KEY]

gets a persistent config value

USAGE
  $ ./bin/run config:get [KEY]

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

./bin/run config:set [KEY] [VALUE]

sets a persistent configuration value

USAGE
  $ ./bin/run config:set [KEY] [VALUE]

OPTIONS
  -f, --file                 the value is a path to a file to read the config value from

  -t, --mime-type=mime-type  the mime-type of the file path with --file/-f (defaults to plain text, available:
                             application/json)

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