@adobe/aio-cli-plugin-config

Config Plugin for the Adobe I/O CLI

Stats

StarsIssuesVersionUpdatedCreatedSize
@adobe/aio-cli-plugin-config
532.3.0a year ago3 years agoMinified + gzip package size for @adobe/aio-cli-plugin-config in KB

Readme

oclif Version Downloads/week Build Status License Codecov Coverage

aio-cli-plugin-config

Config Plugin for the Adobe I/O CLI

  • Usage
  • Commands

    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

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

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

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

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

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

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

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

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.