Comparing version 0.23.0 to 0.24.0
@@ -16,3 +16,5 @@ import { flags } from '@oclif/command'; | ||
forwardPort: import("@oclif/parser/lib/flags").IOptionFlag<number>; | ||
nonoAutoEnableDebugger: import("@oclif/parser/lib/flags").IBooleanFlag<boolean>; | ||
ttl: flags.IOptionFlag<string>; | ||
keepAuth: import("@oclif/parser/lib/flags").IBooleanFlag<boolean>; | ||
noAutoEnableDebugger: import("@oclif/parser/lib/flags").IBooleanFlag<boolean>; | ||
showDebuggerEvents: import("@oclif/parser/lib/flags").IBooleanFlag<boolean>; | ||
@@ -19,0 +21,0 @@ showDebuggerPayloads: import("@oclif/parser/lib/flags").IBooleanFlag<boolean>; |
@@ -163,5 +163,11 @@ "use strict"; | ||
default: 9222 | ||
}), nonoAutoEnableDebugger: command_1.flags.boolean({ | ||
}), ttl: command_1.flags.string({ | ||
description: 'Kuzzle login TTL', | ||
default: '1h', | ||
}), keepAuth: command_1.flags.boolean({ | ||
description: 'Keep the user authenticated', | ||
default: false, | ||
}), noAutoEnableDebugger: command_1.flags.boolean({ | ||
description: 'True if Kourou should not enable and disable the Debugger automatically before and after usage', | ||
default: true | ||
default: false | ||
}), showDebuggerEvents: command_1.flags.boolean({ | ||
@@ -168,0 +174,0 @@ description: 'Verbose mode to display events sent to the Chrome Debugger', |
@@ -22,3 +22,3 @@ "use strict"; | ||
projectId: this.flags.project || this.getProject(), | ||
applicationId: 'kuzzle', | ||
applicationId: this.args.applicationId, | ||
body: { | ||
@@ -65,4 +65,5 @@ image: { | ||
{ name: 'environment', description: 'Project environment name', required: true }, | ||
{ name: 'applicationId', description: 'Application Identifier', required: true }, | ||
{ name: 'image', description: 'Image name and hash as myimage:mytag', required: true }, | ||
]; | ||
exports.default = PaasDeploy; |
@@ -116,2 +116,3 @@ "use strict"; | ||
err = true; | ||
this.exitCode = 1; | ||
} | ||
@@ -131,2 +132,3 @@ finally { | ||
this.sdk.disconnect(); | ||
process.exit(this.exitCode); | ||
} | ||
@@ -133,0 +135,0 @@ return this.exitCode; |
@@ -14,3 +14,3 @@ "use strict"; | ||
? process.env.KUZZLE_PAAS_HOST | ||
: 'api.console.paas.kuzzle.io'; | ||
: 'console.paas.kuzzle.io'; | ||
this.port = process.env.KUZZLE_PAAS_PORT | ||
@@ -17,0 +17,0 @@ ? parseInt(process.env.KUZZLE_PAAS_PORT) |
{ | ||
"name": "kourou", | ||
"description": "The CLI that helps you manage your Kuzzle instances", | ||
"version": "0.23.0", | ||
"version": "0.24.0", | ||
"author": "The Kuzzle Team <support@kuzzle.io>", | ||
@@ -6,0 +6,0 @@ "bin": { |
@@ -29,3 +29,3 @@ # kourou | ||
$ kourou (-v|--version|version) | ||
kourou/0.23.0 linux-x64 node-v14.18.2 | ||
kourou/0.24.0 darwin-x64 node-v14.18.2 | ||
$ kourou --help [COMMAND] | ||
@@ -160,3 +160,3 @@ USAGE | ||
* [`kourou instance:spawn`](#kourou-instancespawn) | ||
* [`kourou paas:deploy ENVIRONMENT IMAGE`](#kourou-paasdeploy-environment-image) | ||
* [`kourou paas:deploy ENVIRONMENT APPLICATIONID IMAGE`](#kourou-paasdeploy-environment-applicationid-image) | ||
* [`kourou paas:init PROJECT`](#kourou-paasinit-project) | ||
@@ -203,2 +203,3 @@ * [`kourou paas:login`](#kourou-paaslogin) | ||
--ssl Use SSL to connect to Kuzzle | ||
--ttl=ttl [default: 90] Kuzzle login TTL (in seconds) | ||
--username=username [default: anonymous] Kuzzle username (local strategy) | ||
@@ -235,2 +236,3 @@ | ||
--ssl Use SSL to connect to Kuzzle | ||
--ttl=ttl [default: 90] Kuzzle login TTL (in seconds) | ||
--username=username [default: anonymous] Kuzzle username (local strategy) | ||
@@ -262,2 +264,3 @@ ``` | ||
--ssl Use SSL to connect to Kuzzle | ||
--ttl=ttl [default: 90] Kuzzle login TTL (in seconds) | ||
--username=username [default: anonymous] Kuzzle username (local strategy) | ||
@@ -292,2 +295,3 @@ | ||
--ssl Use SSL to connect to Kuzzle | ||
--ttl=ttl [default: 90] Kuzzle login TTL (in seconds) | ||
--username=username [default: anonymous] Kuzzle username (local strategy) | ||
@@ -312,4 +316,5 @@ ``` | ||
--host=host [default: localhost] Kuzzle server host | ||
--keepAuth Keep the user authenticated | ||
--nonoAutoEnableDebugger True if Kourou should not enable and disable the Debugger automatically before and after | ||
--noAutoEnableDebugger True if Kourou should not enable and disable the Debugger automatically before and after | ||
usage | ||
@@ -329,2 +334,4 @@ | ||
--ttl=ttl [default: 1h] Kuzzle login TTL | ||
--username=username [default: anonymous] Kuzzle username (local strategy) | ||
@@ -413,2 +420,3 @@ ``` | ||
--ssl Use SSL to connect to Kuzzle | ||
--ttl=ttl [default: 90] Kuzzle login TTL (in seconds) | ||
--username=username [default: anonymous] Kuzzle username (local strategy) | ||
@@ -486,2 +494,5 @@ ``` | ||
--ttl=ttl | ||
[default: 90] Kuzzle login TTL (in seconds) | ||
--username=username | ||
@@ -521,2 +532,3 @@ [default: anonymous] Kuzzle username (local strategy) | ||
--ssl Use SSL to connect to Kuzzle | ||
--ttl=ttl [default: 90] Kuzzle login TTL (in seconds) | ||
--username=username [default: anonymous] Kuzzle username (local strategy) | ||
@@ -577,2 +589,3 @@ ``` | ||
--ssl Use SSL to connect to Kuzzle | ||
--ttl=ttl [default: 90] Kuzzle login TTL (in seconds) | ||
--username=username [default: anonymous] Kuzzle username (local strategy) | ||
@@ -832,2 +845,3 @@ | ||
--ssl Use SSL to connect to Kuzzle | ||
--ttl=ttl [default: 90] Kuzzle login TTL (in seconds) | ||
--username=username [default: anonymous] Kuzzle username (local strategy) | ||
@@ -873,2 +887,4 @@ ``` | ||
--ttl=ttl [default: 90] Kuzzle login TTL (in seconds) | ||
--username=username [default: anonymous] Kuzzle username (local strategy) | ||
@@ -906,2 +922,3 @@ | ||
--ssl Use SSL to connect to Kuzzle | ||
--ttl=ttl [default: 90] Kuzzle login TTL (in seconds) | ||
--username=username [default: anonymous] Kuzzle username (local strategy) | ||
@@ -973,3 +990,3 @@ | ||
## `kourou paas:deploy ENVIRONMENT IMAGE` | ||
## `kourou paas:deploy ENVIRONMENT APPLICATIONID IMAGE` | ||
@@ -980,7 +997,8 @@ Deploy a new version of the application in the PaaS | ||
USAGE | ||
$ kourou paas:deploy ENVIRONMENT IMAGE | ||
$ kourou paas:deploy ENVIRONMENT APPLICATIONID IMAGE | ||
ARGUMENTS | ||
ENVIRONMENT Project environment name | ||
IMAGE Image name and hash as myimage:mytag | ||
ENVIRONMENT Project environment name | ||
APPLICATIONID Application Identifier | ||
IMAGE Image name and hash as myimage:mytag | ||
@@ -1065,2 +1083,3 @@ OPTIONS | ||
--ssl Use SSL to connect to Kuzzle | ||
--ttl=ttl [default: 90] Kuzzle login TTL (in seconds) | ||
--username=username [default: anonymous] Kuzzle username (local strategy) | ||
@@ -1091,2 +1110,3 @@ ``` | ||
--ssl Use SSL to connect to Kuzzle | ||
--ttl=ttl [default: 90] Kuzzle login TTL (in seconds) | ||
--username=username [default: anonymous] Kuzzle username (local strategy) | ||
@@ -1133,2 +1153,4 @@ ``` | ||
--ttl=ttl [default: 90] Kuzzle login TTL (in seconds) | ||
--username=username [default: anonymous] Kuzzle username (local strategy) | ||
@@ -1173,2 +1195,3 @@ | ||
--ssl Use SSL to connect to Kuzzle | ||
--ttl=ttl [default: 90] Kuzzle login TTL (in seconds) | ||
--username=username [default: anonymous] Kuzzle username (local strategy) | ||
@@ -1201,2 +1224,3 @@ | ||
--ssl Use SSL to connect to Kuzzle | ||
--ttl=ttl [default: 90] Kuzzle login TTL (in seconds) | ||
--username=username [default: anonymous] Kuzzle username (local strategy) | ||
@@ -1228,2 +1252,3 @@ ``` | ||
--ssl Use SSL to connect to Kuzzle | ||
--ttl=ttl [default: 90] Kuzzle login TTL (in seconds) | ||
--username=username [default: anonymous] Kuzzle username (local strategy) | ||
@@ -1258,2 +1283,3 @@ ``` | ||
--ssl Use SSL to connect to Kuzzle | ||
--ttl=ttl [default: 90] Kuzzle login TTL (in seconds) | ||
--username=username [default: anonymous] Kuzzle username (local strategy) | ||
@@ -1332,2 +1358,4 @@ | ||
--ttl=ttl [default: 90] Kuzzle login TTL (in seconds) | ||
--username=username [default: anonymous] Kuzzle username (local strategy) | ||
@@ -1415,2 +1443,3 @@ | ||
--ssl Use SSL to connect to Kuzzle | ||
--ttl=ttl [default: 90] Kuzzle login TTL (in seconds) | ||
--username=username [default: anonymous] Kuzzle username (local strategy) | ||
@@ -1464,2 +1493,3 @@ | ||
--ssl Use SSL to connect to Kuzzle | ||
--ttl=ttl [default: 90] Kuzzle login TTL (in seconds) | ||
--username=username [default: anonymous] Kuzzle username (local strategy) | ||
@@ -1490,2 +1520,3 @@ ``` | ||
--ssl Use SSL to connect to Kuzzle | ||
--ttl=ttl [default: 90] Kuzzle login TTL (in seconds) | ||
--username=username [default: anonymous] Kuzzle username (local strategy) | ||
@@ -1516,2 +1547,3 @@ ``` | ||
--ssl Use SSL to connect to Kuzzle | ||
--ttl=ttl [default: 90] Kuzzle login TTL (in seconds) | ||
--username=username [default: anonymous] Kuzzle username (local strategy) | ||
@@ -1518,0 +1550,0 @@ ``` |
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
281266
5524
1713