Wondering what’s next for npm?Check out our public roadmap! »

    @adobe/aio-cli-plugin-config

    2.3.0 • Public • Published

    oclif Version Downloads/week Build Status 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
    
    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

    Keywords

    Install

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

    DownloadsWeekly Downloads

    393

    Version

    2.3.0

    License

    Apache-2.0

    Unpacked Size

    38.2 kB

    Total Files

    12

    Last publish

    Collaborators

    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar