@adobe/aio-cli-plugin-console
Advanced tools
Comparing version 2.0.1 to 2.0.2
@@ -1,1 +0,1 @@ | ||
{"version":"2.0.1","commands":{"console":{"id":"console","description":"List or select console integrations for the Adobe I/O Runtime","pluginName":"@adobe/aio-cli-plugin-console","pluginType":"core","aliases":["console:ls","console:list"],"examples":["$ aio console:list-integrations","$ aio console:ls","$ aio console list-integrations","$ aio console:select-integration INTEGRATION_ID","$ aio console:sel INTEGRATION_ID","$ aio console select-integration INTEGRATION_ID","$ aio console:reset-integration INTEGRATION_ID","$ aio console:reset INTEGRATION_ID","$ aio console reset-integration INTEGRATION_ID","$ aio console:current-integration","$ aio console:current","$ aio console current-integration"],"flags":{"passphrase":{"name":"passphrase","type":"option","char":"p","description":"the passphrase for the private-key"},"name":{"name":"name","type":"boolean","char":"n","description":"sort results by name","allowNo":false}},"args":[]},"console:integration":{"id":"console:integration","description":"Views an integration for use with Adobe I/O Runtime serverless functions","pluginName":"@adobe/aio-cli-plugin-console","pluginType":"core","aliases":["console:get","console:int"],"flags":{"passphrase":{"name":"passphrase","type":"option","char":"p","description":"the passphrase for the private-key","default":null}},"args":[{"name":"namespace","description":"namespace of an integration","required":true}]},"console:list-integrations":{"id":"console:list-integrations","description":"lists integrations for use with Adobe I/O Runtime serverless functions","pluginName":"@adobe/aio-cli-plugin-console","pluginType":"core","aliases":["console:ls","console:list"],"flags":{"passphrase":{"name":"passphrase","type":"option","char":"p","description":"the passphrase for the private-key"},"name":{"name":"name","type":"boolean","char":"n","description":"sort results by name","allowNo":false}},"args":[]},"console:reset-integration":{"id":"console:reset-integration","description":"resets an integration's .wskprops auth hash.\nafter running this command all clients will need to run `console:select-integration` \nto get a new auth hash in their .wskprops file\n","pluginName":"@adobe/aio-cli-plugin-console","pluginType":"core","aliases":["console:reset"],"flags":{},"args":[{"name":"integration_Id"}]},"console:select-integration":{"id":"console:select-integration","description":"selects an integration and writes the .wskprops file to the local machine\nRun 'console:ls' to get a list of integrations to select from.\nThe .wskprops file will be written to your home folder, and you will be prompted whether you want to overwrite an existing file.\n","pluginName":"@adobe/aio-cli-plugin-console","pluginType":"core","aliases":["console:sel","console:select"],"flags":{"passphrase":{"name":"passphrase","type":"option","char":"p","description":"the passphrase for the private-key","default":null},"force":{"name":"force","type":"boolean","char":"f","description":"do not prompt if the .wskprops file exists","allowNo":false},"local":{"name":"local","type":"boolean","char":"l","description":"save selected integration to local config","allowNo":false},"global":{"name":"global","type":"boolean","char":"g","description":"save selected integration to global config","allowNo":false},"wskprops":{"name":"wskprops","type":"boolean","char":"w","description":"save selected integration to .wskprops file (default)","allowNo":false}},"args":[{"name":"integration_Id"}]},"console:selected-integration":{"id":"console:selected-integration","description":"lists the selected integration for use with Adobe I/O Runtime serverless functions","pluginName":"@adobe/aio-cli-plugin-console","pluginType":"core","aliases":["console:selected","console:current"],"flags":{"passphrase":{"name":"passphrase","type":"option","char":"p","description":"the passphrase for the private-key","default":null}},"args":[]}}} | ||
{"version":"2.0.2","commands":{"console":{"id":"console","description":"List or select console integrations for the Adobe I/O Runtime","pluginName":"@adobe/aio-cli-plugin-console","pluginType":"core","aliases":["console:ls","console:list"],"examples":["$ aio console:list-integrations","$ aio console:ls","$ aio console list-integrations","$ aio console:select-integration INTEGRATION_ID","$ aio console:sel INTEGRATION_ID","$ aio console select-integration INTEGRATION_ID","$ aio console:reset-integration INTEGRATION_ID","$ aio console:reset INTEGRATION_ID","$ aio console reset-integration INTEGRATION_ID","$ aio console:current-integration","$ aio console:current","$ aio console current-integration"],"flags":{"passphrase":{"name":"passphrase","type":"option","char":"p","description":"the passphrase for the private-key"},"name":{"name":"name","type":"boolean","char":"n","description":"sort results by name","allowNo":false}},"args":[]},"console:integration":{"id":"console:integration","description":"Views an integration for use with Adobe I/O Runtime serverless functions","pluginName":"@adobe/aio-cli-plugin-console","pluginType":"core","aliases":["console:get","console:int"],"flags":{"passphrase":{"name":"passphrase","type":"option","char":"p","description":"the passphrase for the private-key","default":null}},"args":[{"name":"namespace","description":"namespace of an integration","required":true}]},"console:list-integrations":{"id":"console:list-integrations","description":"lists integrations for use with Adobe I/O Runtime serverless functions","pluginName":"@adobe/aio-cli-plugin-console","pluginType":"core","aliases":["console:ls","console:list"],"flags":{"passphrase":{"name":"passphrase","type":"option","char":"p","description":"the passphrase for the private-key"},"name":{"name":"name","type":"boolean","char":"n","description":"sort results by name","allowNo":false}},"args":[]},"console:reset-integration":{"id":"console:reset-integration","description":"resets an integration's .wskprops auth hash.\nafter running this command all clients will need to run `console:select-integration` \nto get a new auth hash in their .wskprops file\n","pluginName":"@adobe/aio-cli-plugin-console","pluginType":"core","aliases":["console:reset"],"flags":{},"args":[{"name":"integration_Id"}]},"console:select-integration":{"id":"console:select-integration","description":"selects an integration and writes the .wskprops file to the local machine\nRun 'console:ls' to get a list of integrations to select from.\nThe .wskprops file will be written to your home folder, and you will be prompted whether you want to overwrite an existing file.\n","pluginName":"@adobe/aio-cli-plugin-console","pluginType":"core","aliases":["console:sel","console:select"],"flags":{"passphrase":{"name":"passphrase","type":"option","char":"p","description":"the passphrase for the private-key","default":null},"force":{"name":"force","type":"boolean","char":"f","description":"do not prompt if the .wskprops file exists","allowNo":false},"local":{"name":"local","type":"boolean","char":"l","description":"save selected integration to local config","allowNo":false},"global":{"name":"global","type":"boolean","char":"g","description":"save selected integration to global config","allowNo":false},"wskprops":{"name":"wskprops","type":"boolean","char":"w","description":"save selected integration to .wskprops file (default)","allowNo":false}},"args":[{"name":"integration_Id"}]},"console:selected-integration":{"id":"console:selected-integration","description":"lists the selected integration for use with Adobe I/O Runtime serverless functions","pluginName":"@adobe/aio-cli-plugin-console","pluginType":"core","aliases":["console:selected","console:current"],"flags":{"passphrase":{"name":"passphrase","type":"option","char":"p","description":"the passphrase for the private-key","default":null}},"args":[]}}} |
{ | ||
"name": "@adobe/aio-cli-plugin-console", | ||
"description": "Console integration plugin for the Adobe I/O CLI", | ||
"version": "2.0.1", | ||
"author": "Adobe Systems Inc.", | ||
"version": "2.0.2", | ||
"author": "Adobe Inc.", | ||
"bugs": "https://github.com/adobe/aio-cli-plugin-console/issues", | ||
"dependencies": { | ||
"@adobe/aio-cli-config": "^1.0.7", | ||
"@adobe/aio-cli-plugin-jwt-auth": "^2.0.0", | ||
"@adobe/aio-cna-core-config": "^1.0.14", | ||
"@adobe/aio-cli-plugin-jwt-auth": "^2.0.1", | ||
"@oclif/command": "^1", | ||
@@ -11,0 +11,0 @@ "@oclif/config": "^1", |
@@ -36,3 +36,3 @@ <!-- | ||
$ ./bin/run (-v|--version|version) | ||
@adobe/aio-cli-plugin-console/2.0.1 darwin-x64 node-v8.11.4 | ||
@adobe/aio-cli-plugin-console/2.0.2 darwin-x64 node-v10.16.0 | ||
$ ./bin/run --help [COMMAND] | ||
@@ -84,3 +84,3 @@ USAGE | ||
_See code: [src/commands/console/index.js](https://github.com/adobe/aio-cli-plugin-console/blob/v2.0.1/src/commands/console/index.js)_ | ||
_See code: [src/commands/console/index.js](https://github.com/adobe/aio-cli-plugin-console/blob/v2.0.2/src/commands/console/index.js)_ | ||
@@ -106,3 +106,3 @@ ## `./bin/run console:integration NAMESPACE` | ||
_See code: [src/commands/console/integration.js](https://github.com/adobe/aio-cli-plugin-console/blob/v2.0.1/src/commands/console/integration.js)_ | ||
_See code: [src/commands/console/integration.js](https://github.com/adobe/aio-cli-plugin-console/blob/v2.0.2/src/commands/console/integration.js)_ | ||
@@ -126,3 +126,3 @@ ## `./bin/run console:list-integrations` | ||
_See code: [src/commands/console/list-integrations.js](https://github.com/adobe/aio-cli-plugin-console/blob/v2.0.1/src/commands/console/list-integrations.js)_ | ||
_See code: [src/commands/console/list-integrations.js](https://github.com/adobe/aio-cli-plugin-console/blob/v2.0.2/src/commands/console/list-integrations.js)_ | ||
@@ -145,3 +145,3 @@ ## `./bin/run console:reset-integration [INTEGRATION_ID]` | ||
_See code: [src/commands/console/reset-integration.js](https://github.com/adobe/aio-cli-plugin-console/blob/v2.0.1/src/commands/console/reset-integration.js)_ | ||
_See code: [src/commands/console/reset-integration.js](https://github.com/adobe/aio-cli-plugin-console/blob/v2.0.2/src/commands/console/reset-integration.js)_ | ||
@@ -173,3 +173,3 @@ ## `./bin/run console:select-integration [INTEGRATION_ID]` | ||
_See code: [src/commands/console/select-integration.js](https://github.com/adobe/aio-cli-plugin-console/blob/v2.0.1/src/commands/console/select-integration.js)_ | ||
_See code: [src/commands/console/select-integration.js](https://github.com/adobe/aio-cli-plugin-console/blob/v2.0.2/src/commands/console/select-integration.js)_ | ||
@@ -192,3 +192,3 @@ ## `./bin/run console:selected-integration` | ||
_See code: [src/commands/console/selected-integration.js](https://github.com/adobe/aio-cli-plugin-console/blob/v2.0.1/src/commands/console/selected-integration.js)_ | ||
_See code: [src/commands/console/selected-integration.js](https://github.com/adobe/aio-cli-plugin-console/blob/v2.0.2/src/commands/console/selected-integration.js)_ | ||
<!-- commandsstop --> |
@@ -17,2 +17,3 @@ /* | ||
const util = require('util') | ||
const debug = require('debug')('aio-cli-plugin-console:integration') | ||
@@ -36,2 +37,3 @@ // simplified to include only id+orgId, and name. Formatted for output. | ||
} catch (error) { | ||
debug(error) | ||
this.error(error.message) | ||
@@ -38,0 +40,0 @@ } |
@@ -17,2 +17,3 @@ /* | ||
const { cli } = require('cli-ux') | ||
const debug = require('debug')('aio-cli-plugin-console:list-integrations') | ||
@@ -50,2 +51,3 @@ const PAGE_SIZE = 50 | ||
} catch (error) { | ||
debug(error) | ||
this.error(error.message) | ||
@@ -52,0 +54,0 @@ } |
@@ -17,3 +17,3 @@ /* | ||
const fetch = require('node-fetch') | ||
const debug = require('debug')('aio-cli-plugin-console') | ||
const debug = require('debug')('aio-cli-plugin-console:reset-integration') | ||
@@ -63,2 +63,3 @@ async function _resetIntegration (integrationId, passphrase) { | ||
} catch (error) { | ||
debug(error) | ||
this.error(error.message) | ||
@@ -65,0 +66,0 @@ } |
@@ -15,7 +15,7 @@ /* | ||
const fetch = require('node-fetch') | ||
const config = require('@adobe/aio-cli-config') | ||
const config = require('@adobe/aio-cna-core-config') | ||
const fs = require('fs') | ||
const { accessToken: getAccessToken } = require('@adobe/aio-cli-plugin-jwt-auth') | ||
const { getNamespaceUrl, getApiKey, getWskPropsFilePath, getIMSOrgId } = require('../../console-helpers') | ||
const debug = require('debug')('aio-cli-plugin-console') | ||
const debug = require('debug')('aio-cli-plugin-console:select-integration') | ||
const { confirm } = require('cli-ux').cli | ||
@@ -93,2 +93,3 @@ | ||
} catch (error) { | ||
debug(error) | ||
this.error(error.message) | ||
@@ -95,0 +96,0 @@ } |
@@ -17,2 +17,3 @@ /* | ||
const util = require('util') | ||
const debug = require('debug')('aio-cli-plugin-console:selected-integration') | ||
@@ -47,2 +48,3 @@ // simplified to include only id+orgId, and name. Formatted for output. | ||
} catch (error) { | ||
debug(error) | ||
this.error(error.message) | ||
@@ -49,0 +51,0 @@ } |
@@ -15,3 +15,3 @@ /* | ||
const path = require('path') | ||
const config = require('@adobe/aio-cli-config') | ||
const config = require('@adobe/aio-cna-core-config') | ||
const debug = require('debug')('aio-cli-plugin-console') | ||
@@ -18,0 +18,0 @@ const fs = require('fs') |
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
48184
589
+ Added@adobe/aio-cna-core-config@1.0.14(transitive)
+ Addeddotenv@8.6.0(transitive)
- Removed@adobe/aio-cli-config@^1.0.7
- Removed@adobe/aio-cli-config@1.0.12(transitive)