@adobe/aio-cli-plugin-config
Advanced tools
Comparing version 4.0.0 to 4.0.1
@@ -1,1 +0,1 @@ | ||
{"version":"4.0.0","commands":{"config:clear":{"id":"config:clear","description":"clears all persistent config values","strict":true,"pluginName":"@adobe/aio-cli-plugin-config","pluginAlias":"@adobe/aio-cli-plugin-config","pluginType":"core","aliases":[],"flags":{"local":{"name":"local","type":"boolean","char":"l","description":"local config","allowNo":false,"exclusive":["global"]},"global":{"name":"global","type":"boolean","char":"g","description":"global config","allowNo":false,"exclusive":["local"]},"json":{"name":"json","type":"boolean","char":"j","hidden":true,"allowNo":false,"exclusive":["yaml"]},"yaml":{"name":"yaml","type":"boolean","char":"y","hidden":true,"allowNo":false,"exclusive":["json"]},"force":{"name":"force","type":"boolean","char":"f","description":"do not prompt for confirmation","allowNo":false}},"args":[]},"config:delete":{"id":"config:delete","description":"deletes persistent config values","strict":false,"pluginName":"@adobe/aio-cli-plugin-config","pluginAlias":"@adobe/aio-cli-plugin-config","pluginType":"core","aliases":["config:del","config:rm"],"flags":{"local":{"name":"local","type":"boolean","char":"l","description":"local config","allowNo":false,"exclusive":["global"]},"global":{"name":"global","type":"boolean","char":"g","description":"global config","allowNo":false,"exclusive":["local"]},"json":{"name":"json","type":"boolean","char":"j","hidden":true,"allowNo":false,"exclusive":["yaml"]},"yaml":{"name":"yaml","type":"boolean","char":"y","hidden":true,"allowNo":false,"exclusive":["json"]}},"args":[{"name":"keys...","required":true}]},"config:edit":{"id":"config:edit","description":"edit config file","strict":true,"pluginName":"@adobe/aio-cli-plugin-config","pluginAlias":"@adobe/aio-cli-plugin-config","pluginType":"core","aliases":[],"flags":{"local":{"name":"local","type":"boolean","char":"l","description":"local config","allowNo":false,"exclusive":["global"]},"global":{"name":"global","type":"boolean","char":"g","description":"global config","allowNo":false,"exclusive":["local"]},"json":{"name":"json","type":"boolean","char":"j","hidden":true,"allowNo":false,"exclusive":["yaml"]},"yaml":{"name":"yaml","type":"boolean","char":"y","hidden":true,"allowNo":false,"exclusive":["json"]}},"args":[]},"config:get":{"id":"config:get","description":"gets a persistent config value","strict":true,"pluginName":"@adobe/aio-cli-plugin-config","pluginAlias":"@adobe/aio-cli-plugin-config","pluginType":"core","aliases":[],"flags":{"local":{"name":"local","type":"boolean","char":"l","description":"local config","allowNo":false,"exclusive":["global"]},"global":{"name":"global","type":"boolean","char":"g","description":"global config","allowNo":false,"exclusive":["local"]},"json":{"name":"json","type":"boolean","char":"j","description":"output in json","hidden":false,"allowNo":false,"exclusive":["yaml"]},"yaml":{"name":"yaml","type":"boolean","char":"y","description":"output in yaml","hidden":false,"allowNo":false,"exclusive":["json"]},"env":{"name":"env","type":"boolean","char":"e","description":"environment variables","allowNo":false}},"args":[{"name":"key","required":true}]},"config":{"id":"config","description":"list, get, set, delete, and edit persistent configuration data","strict":true,"pluginName":"@adobe/aio-cli-plugin-config","pluginAlias":"@adobe/aio-cli-plugin-config","pluginType":"core","aliases":["config:ls"],"examples":["$ aio config:list","$ aio config:get KEY","$ aio config:set KEY VALUE","$ aio config:delete KEY","$ aio config:clear"],"flags":{"local":{"name":"local","type":"boolean","char":"l","description":"local config","allowNo":false,"exclusive":["global"]},"global":{"name":"global","type":"boolean","char":"g","description":"global config","allowNo":false,"exclusive":["local"]},"json":{"name":"json","type":"boolean","char":"j","description":"output in json","hidden":false,"allowNo":false,"exclusive":["yaml"]},"yaml":{"name":"yaml","type":"boolean","char":"y","description":"output in yaml","hidden":false,"allowNo":false,"exclusive":["json"]},"env":{"name":"env","type":"boolean","char":"e","description":"environment variables","allowNo":false},"verbose":{"name":"verbose","type":"boolean","description":"show all config values","allowNo":false,"exclusive":["yaml","json"]}},"args":[]},"config:list":{"id":"config:list","description":"lists all persistent config values","strict":true,"pluginName":"@adobe/aio-cli-plugin-config","pluginAlias":"@adobe/aio-cli-plugin-config","pluginType":"core","aliases":["config:ls"],"flags":{"local":{"name":"local","type":"boolean","char":"l","description":"local config","allowNo":false,"exclusive":["global"]},"global":{"name":"global","type":"boolean","char":"g","description":"global config","allowNo":false,"exclusive":["local"]},"json":{"name":"json","type":"boolean","char":"j","description":"output in json","hidden":false,"allowNo":false,"exclusive":["yaml"]},"yaml":{"name":"yaml","type":"boolean","char":"y","description":"output in yaml","hidden":false,"allowNo":false,"exclusive":["json"]},"env":{"name":"env","type":"boolean","char":"e","description":"environment variables","allowNo":false},"verbose":{"name":"verbose","type":"boolean","description":"show all config values","allowNo":false,"exclusive":["yaml","json"]}},"args":[]},"config:set":{"id":"config:set","description":"sets a persistent config value","strict":true,"usage":["config set key 'a value' # set key to 'a value'","config set key -f value.json # set key to the json found in the file value.json","config set -j key < value.json # set key to the json found in the file value.json"],"pluginName":"@adobe/aio-cli-plugin-config","pluginAlias":"@adobe/aio-cli-plugin-config","pluginType":"core","aliases":[],"flags":{"local":{"name":"local","type":"boolean","char":"l","description":"local config","allowNo":false,"exclusive":["global"]},"global":{"name":"global","type":"boolean","char":"g","description":"global config","allowNo":false,"exclusive":["local"]},"json":{"name":"json","type":"boolean","char":"j","description":"value is json","hidden":false,"allowNo":false},"yaml":{"name":"yaml","type":"boolean","char":"y","description":"value is yaml","hidden":false,"allowNo":false},"file":{"name":"file","type":"boolean","char":"f","description":"value is a path to a file","allowNo":false,"exclusive":["interactive"]},"interactive":{"name":"interactive","type":"boolean","char":"i","description":"prompt for value","allowNo":false,"exclusive":["file"]}},"args":[{"name":"key","required":true},{"name":"value|filename","required":false}]}}} | ||
{"version":"4.0.1","commands":{"config:clear":{"id":"config:clear","description":"clears all persistent config values","strict":true,"pluginName":"@adobe/aio-cli-plugin-config","pluginAlias":"@adobe/aio-cli-plugin-config","pluginType":"core","aliases":[],"flags":{"local":{"name":"local","type":"boolean","char":"l","description":"local config","allowNo":false,"exclusive":["global"]},"global":{"name":"global","type":"boolean","char":"g","description":"global config","allowNo":false,"exclusive":["local"]},"json":{"name":"json","type":"boolean","char":"j","hidden":true,"allowNo":false,"exclusive":["yaml"]},"yaml":{"name":"yaml","type":"boolean","char":"y","hidden":true,"allowNo":false,"exclusive":["json"]},"force":{"name":"force","type":"boolean","char":"f","description":"do not prompt for confirmation","allowNo":false}},"args":[]},"config:delete":{"id":"config:delete","description":"deletes persistent config values","strict":false,"pluginName":"@adobe/aio-cli-plugin-config","pluginAlias":"@adobe/aio-cli-plugin-config","pluginType":"core","aliases":["config:del","config:rm"],"flags":{"local":{"name":"local","type":"boolean","char":"l","description":"local config","allowNo":false,"exclusive":["global"]},"global":{"name":"global","type":"boolean","char":"g","description":"global config","allowNo":false,"exclusive":["local"]},"json":{"name":"json","type":"boolean","char":"j","hidden":true,"allowNo":false,"exclusive":["yaml"]},"yaml":{"name":"yaml","type":"boolean","char":"y","hidden":true,"allowNo":false,"exclusive":["json"]}},"args":[{"name":"keys...","required":true}]},"config:edit":{"id":"config:edit","description":"edit config file","strict":true,"pluginName":"@adobe/aio-cli-plugin-config","pluginAlias":"@adobe/aio-cli-plugin-config","pluginType":"core","aliases":[],"flags":{"local":{"name":"local","type":"boolean","char":"l","description":"local config","allowNo":false,"exclusive":["global"]},"global":{"name":"global","type":"boolean","char":"g","description":"global config","allowNo":false,"exclusive":["local"]},"json":{"name":"json","type":"boolean","char":"j","hidden":true,"allowNo":false,"exclusive":["yaml"]},"yaml":{"name":"yaml","type":"boolean","char":"y","hidden":true,"allowNo":false,"exclusive":["json"]}},"args":[]},"config:get":{"id":"config:get","description":"gets a persistent config value","strict":true,"pluginName":"@adobe/aio-cli-plugin-config","pluginAlias":"@adobe/aio-cli-plugin-config","pluginType":"core","aliases":[],"flags":{"local":{"name":"local","type":"boolean","char":"l","description":"local config","allowNo":false,"exclusive":["global"]},"global":{"name":"global","type":"boolean","char":"g","description":"global config","allowNo":false,"exclusive":["local"]},"json":{"name":"json","type":"boolean","char":"j","description":"output in json","hidden":false,"allowNo":false,"exclusive":["yaml"]},"yaml":{"name":"yaml","type":"boolean","char":"y","description":"output in yaml","hidden":false,"allowNo":false,"exclusive":["json"]},"env":{"name":"env","type":"boolean","char":"e","description":"environment variables","allowNo":false}},"args":[{"name":"key","required":true}]},"config":{"id":"config","description":"list, get, set, delete, and edit persistent configuration data","strict":true,"pluginName":"@adobe/aio-cli-plugin-config","pluginAlias":"@adobe/aio-cli-plugin-config","pluginType":"core","aliases":["config:ls"],"examples":["$ aio config:list","$ aio config:get KEY","$ aio config:set KEY VALUE","$ aio config:delete KEY","$ aio config:clear"],"flags":{"local":{"name":"local","type":"boolean","char":"l","description":"local config","allowNo":false,"exclusive":["global"]},"global":{"name":"global","type":"boolean","char":"g","description":"global config","allowNo":false,"exclusive":["local"]},"json":{"name":"json","type":"boolean","char":"j","description":"output in json","hidden":false,"allowNo":false,"exclusive":["yaml"]},"yaml":{"name":"yaml","type":"boolean","char":"y","description":"output in yaml","hidden":false,"allowNo":false,"exclusive":["json"]},"env":{"name":"env","type":"boolean","char":"e","description":"environment variables","allowNo":false},"verbose":{"name":"verbose","type":"boolean","description":"show all config values","allowNo":false,"exclusive":["yaml","json"]}},"args":[]},"config:list":{"id":"config:list","description":"lists all persistent config values","strict":true,"pluginName":"@adobe/aio-cli-plugin-config","pluginAlias":"@adobe/aio-cli-plugin-config","pluginType":"core","aliases":["config:ls"],"flags":{"local":{"name":"local","type":"boolean","char":"l","description":"local config","allowNo":false,"exclusive":["global"]},"global":{"name":"global","type":"boolean","char":"g","description":"global config","allowNo":false,"exclusive":["local"]},"json":{"name":"json","type":"boolean","char":"j","description":"output in json","hidden":false,"allowNo":false,"exclusive":["yaml"]},"yaml":{"name":"yaml","type":"boolean","char":"y","description":"output in yaml","hidden":false,"allowNo":false,"exclusive":["json"]},"env":{"name":"env","type":"boolean","char":"e","description":"environment variables","allowNo":false},"verbose":{"name":"verbose","type":"boolean","description":"show all config values","allowNo":false,"exclusive":["yaml","json"]}},"args":[]},"config:set":{"id":"config:set","description":"sets a persistent config value","strict":true,"usage":["config set key 'a value' # set key to 'a value'","config set key -f value.json # set key to the json found in the file value.json","config set -j key < value.json # set key to the json found in the file value.json"],"pluginName":"@adobe/aio-cli-plugin-config","pluginAlias":"@adobe/aio-cli-plugin-config","pluginType":"core","aliases":[],"flags":{"local":{"name":"local","type":"boolean","char":"l","description":"local config","allowNo":false,"exclusive":["global"]},"global":{"name":"global","type":"boolean","char":"g","description":"global config","allowNo":false,"exclusive":["local"]},"json":{"name":"json","type":"boolean","char":"j","description":"value is json","hidden":false,"allowNo":false},"yaml":{"name":"yaml","type":"boolean","char":"y","description":"value is yaml","hidden":false,"allowNo":false},"file":{"name":"file","type":"boolean","char":"f","description":"value is a path to a file","allowNo":false,"exclusive":["interactive"]},"interactive":{"name":"interactive","type":"boolean","char":"i","description":"prompt for value","allowNo":false,"exclusive":["file"]}},"args":[{"name":"key","required":true},{"name":"value|filename","required":false}]}}} |
{ | ||
"name": "@adobe/aio-cli-plugin-config", | ||
"description": "Config Plugin for the Adobe I/O CLI", | ||
"version": "4.0.0", | ||
"version": "4.0.1", | ||
"author": "Adobe Inc.", | ||
@@ -32,5 +32,4 @@ "bugs": "https://github.com/adobe/aio-cli-plugin-config/issues", | ||
"jest-resolve": "^27.5.1", | ||
"oclif": "^3.0.1", | ||
"stdout-stderr": "^0.1.13", | ||
"typescript": "^4.5.4" | ||
"oclif": "^3.2.0", | ||
"stdout-stderr": "^0.1.13" | ||
}, | ||
@@ -52,2 +51,3 @@ "engines": { | ||
"bin": "aio", | ||
"topicSeparator": " ", | ||
"topics": { | ||
@@ -67,3 +67,3 @@ "config": { | ||
"unit-tests": "jest --ci", | ||
"prepack": "oclif manifest && oclif readme", | ||
"prepack": "oclif manifest && oclif readme --no-aliases", | ||
"postpack": "rm -f oclif.manifest.json", | ||
@@ -70,0 +70,0 @@ "version": "oclif readme && git add README.md", |
129
README.md
@@ -41,10 +41,7 @@ <!-- | ||
* [`aio config`](#aio-config) | ||
* [`aio config:clear`](#aio-configclear) | ||
* [`aio config:del KEYS...`](#aio-configdel-keys) | ||
* [`aio config:delete KEYS...`](#aio-configdelete-keys) | ||
* [`aio config:edit`](#aio-configedit) | ||
* [`aio config:get KEY`](#aio-configget-key) | ||
* [`aio config:list`](#aio-configlist) | ||
* [`aio config:ls`](#aio-configls) | ||
* [`aio config:rm KEYS...`](#aio-configrm-keys) | ||
* [`aio config clear`](#aio-config-clear) | ||
* [`aio config delete KEYS...`](#aio-config-delete-keys) | ||
* [`aio config edit`](#aio-config-edit) | ||
* [`aio config get KEY`](#aio-config-get-key) | ||
* [`aio config list`](#aio-config-list) | ||
* [`aio config set key 'a value' # set key to 'a value'`](#aio-config-set-key-a-value--------set-key-to-a-value) | ||
@@ -72,3 +69,3 @@ | ||
ALIASES | ||
$ aio config:ls | ||
$ aio config ls | ||
@@ -87,5 +84,5 @@ EXAMPLES | ||
_See code: [src/commands/config/index.ts](https://github.com/adobe/aio-cli-plugin-config/blob/4.0.0/src/commands/config/index.ts)_ | ||
_See code: [src/commands/config/index.js](https://github.com/adobe/aio-cli-plugin-config/blob/4.0.1/src/commands/config/index.js)_ | ||
## `aio config:clear` | ||
## `aio config clear` | ||
@@ -96,3 +93,3 @@ clears all persistent config values | ||
USAGE | ||
$ aio config:clear [-l | -g] [-f] | ||
$ aio config clear [-l | -g] [-f] | ||
@@ -108,6 +105,4 @@ FLAGS | ||
_See code: [src/commands/config/clear.ts](https://github.com/adobe/aio-cli-plugin-config/blob/4.0.0/src/commands/config/clear.ts)_ | ||
## `aio config delete KEYS...` | ||
## `aio config:del KEYS...` | ||
deletes persistent config values | ||
@@ -117,3 +112,3 @@ | ||
USAGE | ||
$ aio config:del [KEYS...] [-l | -g] | ||
$ aio config delete [KEYS...] [-l | -g] | ||
@@ -128,30 +123,8 @@ FLAGS | ||
ALIASES | ||
$ aio config:del | ||
$ aio config:rm | ||
$ aio config del | ||
$ aio config rm | ||
``` | ||
## `aio config:delete KEYS...` | ||
## `aio config edit` | ||
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.ts](https://github.com/adobe/aio-cli-plugin-config/blob/4.0.0/src/commands/config/delete.ts)_ | ||
## `aio config:edit` | ||
edit config file | ||
@@ -161,3 +134,3 @@ | ||
USAGE | ||
$ aio config:edit [-l | -g] | ||
$ aio config edit [-l | -g] | ||
@@ -172,6 +145,4 @@ FLAGS | ||
_See code: [src/commands/config/edit.ts](https://github.com/adobe/aio-cli-plugin-config/blob/4.0.0/src/commands/config/edit.ts)_ | ||
## `aio config get KEY` | ||
## `aio config:get KEY` | ||
gets a persistent config value | ||
@@ -181,3 +152,3 @@ | ||
USAGE | ||
$ aio config:get [KEY] [-l | -g] [-j | -y] [-e] | ||
$ aio config get [KEY] [-l | -g] [-j | -y] [-e] | ||
@@ -195,6 +166,4 @@ FLAGS | ||
_See code: [src/commands/config/get.ts](https://github.com/adobe/aio-cli-plugin-config/blob/4.0.0/src/commands/config/get.ts)_ | ||
## `aio config list` | ||
## `aio config:list` | ||
lists all persistent config values | ||
@@ -204,3 +173,3 @@ | ||
USAGE | ||
$ aio config:list [-l | -g] [-e] [--verbose | | [-j | -y]] | ||
$ aio config list [-l | -g] [-e] [--verbose | | [-j | -y]] | ||
@@ -219,61 +188,5 @@ FLAGS | ||
ALIASES | ||
$ aio config:ls | ||
$ aio config ls | ||
``` | ||
_See code: [src/commands/config/list.ts](https://github.com/adobe/aio-cli-plugin-config/blob/4.0.0/src/commands/config/list.ts)_ | ||
## `aio config:ls` | ||
list, get, set, delete, and edit persistent configuration data | ||
``` | ||
USAGE | ||
$ aio config:ls [-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 | ||
``` | ||
## `aio config:rm KEYS...` | ||
deletes persistent config values | ||
``` | ||
USAGE | ||
$ aio config:rm [KEYS...] [-l | -g] | ||
FLAGS | ||
-g, --global global config | ||
-l, --local local config | ||
DESCRIPTION | ||
deletes persistent config values | ||
ALIASES | ||
$ aio config:del | ||
$ aio config:rm | ||
``` | ||
## `aio config set key 'a value' # set key to 'a value'` | ||
@@ -300,4 +213,2 @@ | ||
``` | ||
_See code: [src/commands/config/set.ts](https://github.com/adobe/aio-cli-plugin-config/blob/4.0.0/src/commands/config/set.ts)_ | ||
<!-- commandsstop --> |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
20
38621
201