@adobe/aio-cli-plugin-config

5.0.1 • Public • Published

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

USAGE
  $ aio config [-l | -g] [-e] [--verbose |  | [-j | -y]]

FLAGS
  -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

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

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 [-l | -g] [-f]

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

DESCRIPTION
  clears all persistent config values

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

aio config delete KEYS...

deletes persistent config values

USAGE
  $ aio config delete KEYS... [-l | -g]

FLAGS
  -g, --global  global config
  -l, --local   local config

DESCRIPTION
  deletes persistent config values

ALIASES
  $ aio config del
  $ aio config rm

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

aio config edit

edit config file

USAGE
  $ aio config edit [-l | -g]

FLAGS
  -g, --global  global config
  -l, --local   local config

DESCRIPTION
  edit config file

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

aio config get KEY

gets a persistent config value

USAGE
  $ aio config get KEY [-l | -g] [-j | -y] [-e]

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

DESCRIPTION
  gets a persistent config value

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

aio config list

lists all persistent config values

USAGE
  $ aio config list [-l | -g] [-e] [--verbose |  | [-j | -y]]

FLAGS
  -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

DESCRIPTION
  lists all persistent 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

FLAGS
  -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

DESCRIPTION
  sets a persistent config value

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

Readme

Keywords

Package Sidebar

Install

npm i @adobe/aio-cli-plugin-config

Weekly Downloads

3,310

Version

5.0.1

License

Apache-2.0

Unpacked Size

44.4 kB

Total Files

12

Last publish

Collaborators

  • dylandepass
  • djaeggi
  • adobehalls
  • fullcolorcoder
  • marbec
  • tripod
  • garthdb
  • lazd
  • adobe-admin
  • patrickfulton
  • trieloff
  • shazron
  • krisnye
  • dcpfsdk
  • natebaldwin
  • devongovett
  • aspro83
  • symanovi
  • dpfister
  • stefan-guggisberg
  • korra
  • rofe
  • kptdobe