@adobe/aio-cli-plugin-config

Config Plugin for the Adobe I/O CLI

Usage no npm install needed!

<script type="module">
  import adobeAioCliPluginConfig from 'https://cdn.skypack.dev/@adobe/aio-cli-plugin-config';
</script>

README

oclif Version Downloads/week Node.js CI License Codecov Coverage

aio-cli-plugin-config

Config Plugin for the Adobe I/O CLI

Usage

$ aio plugins:install -g @adobe/aio-cli-plugin-config
$ # OR
$ aio discover -i
$ aio config --help...

Commands

aio config

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

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

USAGE
  $ aio 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
  $ aio 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

aio config:clear

clears all persistent config values

clears all persistent config values

USAGE
  $ aio 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

aio config:delete KEYS...

deletes persistent config values

deletes persistent config values

USAGE
  $ aio config:delete KEYS...

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

ALIASES
  $ aio config:del
  $ aio config:rm

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

aio config:edit

edit config file

edit config file

USAGE
  $ aio config:edit

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

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

aio config:get KEY

gets a persistent config value

gets a persistent config value

USAGE
  $ aio 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

aio config:list

lists all persistent config values

lists all persistent config values

USAGE
  $ aio 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
  $ aio config:ls

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

aio config set key 'a value' # set key to 'a value'

sets a persistent config value

sets a persistent config value

USAGE
  $ aio config set key 'a value'       # set key to 'a value'
  $ aio config set key -f value.json   # set key to the json found in the file value.json
  $ aio 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