clever-tools 3.8.0 → 3.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/bin/clever.js +5 -5
- package/package.json +1 -1
- package/src/command-options.js +1 -1
- package/src/commands/addon.js +1 -1
package/README.md
CHANGED
|
@@ -27,7 +27,7 @@ We also distribute binaries and packages for multiple systems and tools:
|
|
|
27
27
|
* [Chocolatey](docs/setup-systems.md#chocolatey)
|
|
28
28
|
* [Binary (.zip)](docs/setup-systems.md#binary-zip)
|
|
29
29
|
* [Docker](docs/setup-systems.md#docker)
|
|
30
|
-
* [Nix](docs/setup-systems.md#nix-package-manager)
|
|
30
|
+
* [Nix package manager](docs/setup-systems.md#nix-package-manager)
|
|
31
31
|
|
|
32
32
|
## Enabling autocompletion
|
|
33
33
|
|
package/bin/clever.js
CHANGED
|
@@ -169,7 +169,7 @@ function run () {
|
|
|
169
169
|
metavar: 'after',
|
|
170
170
|
aliases: ['since'],
|
|
171
171
|
parser: Parsers.date,
|
|
172
|
-
description: 'Fetch logs after this date/time (ISO8601)',
|
|
172
|
+
description: 'Fetch logs after this date/time (ISO8601 date, positive number in seconds or duration, e.g.: 1h)',
|
|
173
173
|
}),
|
|
174
174
|
aliasCreation: cliparse.option('alias', {
|
|
175
175
|
aliases: ['a'],
|
|
@@ -190,7 +190,7 @@ function run () {
|
|
|
190
190
|
metavar: 'before',
|
|
191
191
|
aliases: ['until'],
|
|
192
192
|
parser: Parsers.date,
|
|
193
|
-
description: 'Fetch logs before this date/time (ISO8601 date
|
|
193
|
+
description: 'Fetch logs before this date/time (ISO8601 date, positive number in seconds or duration, e.g.: 1h)',
|
|
194
194
|
}),
|
|
195
195
|
branch: cliparse.option('branch', {
|
|
196
196
|
aliases: ['b'],
|
|
@@ -702,7 +702,7 @@ function run () {
|
|
|
702
702
|
const appCreateCommand = cliparse.command('create', {
|
|
703
703
|
description: 'Create an application',
|
|
704
704
|
args: [args.appNameCreation],
|
|
705
|
-
options: [opts.instanceType, opts.orgaIdOrName, opts.aliasCreation, opts.region, opts.github, opts.
|
|
705
|
+
options: [opts.instanceType, opts.orgaIdOrName, opts.aliasCreation, opts.region, opts.github, opts.taskCommand, opts.humanJsonOutputFormat],
|
|
706
706
|
}, create('create'));
|
|
707
707
|
|
|
708
708
|
// CURL COMMAND
|
|
@@ -765,7 +765,7 @@ function run () {
|
|
|
765
765
|
const drainCreateCommand = cliparse.command('create', {
|
|
766
766
|
description: 'Create a drain',
|
|
767
767
|
args: [args.drainType, args.drainUrl],
|
|
768
|
-
options: [opts.
|
|
768
|
+
options: [opts.drainUsername, opts.drainPassword, opts.drainAPIKey, opts.drainIndexPrefix, opts.drainSDParameters],
|
|
769
769
|
}, drain('create'));
|
|
770
770
|
const drainRemoveCommand = cliparse.command('remove', {
|
|
771
771
|
description: 'Remove a drain',
|
|
@@ -1174,7 +1174,7 @@ function run () {
|
|
|
1174
1174
|
name: 'clever',
|
|
1175
1175
|
description: 'CLI tool to manage Clever Cloud\'s data and products',
|
|
1176
1176
|
version: pkg.version,
|
|
1177
|
-
options: [opts.color, opts.
|
|
1177
|
+
options: [opts.color, opts.updateNotifier, opts.verbose],
|
|
1178
1178
|
helpCommand: false,
|
|
1179
1179
|
commands,
|
|
1180
1180
|
});
|
package/package.json
CHANGED
package/src/command-options.js
CHANGED
|
@@ -40,7 +40,7 @@ function getExitOnOption () {
|
|
|
40
40
|
const availableExitOn = ['deploy-start', 'deploy-end', 'never'];
|
|
41
41
|
return cliparse.option('exit-on', {
|
|
42
42
|
aliases: ['e'],
|
|
43
|
-
metavar: '
|
|
43
|
+
metavar: 'step',
|
|
44
44
|
parser: (exitOnStrategy) => {
|
|
45
45
|
return availableExitOn.includes(exitOnStrategy)
|
|
46
46
|
? cliparse.parsers.success(exitOnStrategy)
|
package/src/commands/addon.js
CHANGED
|
@@ -103,7 +103,7 @@ function displayAddon (format, addon, providerName, message) {
|
|
|
103
103
|
|
|
104
104
|
const WIP_PROVIDERS = {
|
|
105
105
|
keycloak: {
|
|
106
|
-
|
|
106
|
+
status: 'alpha',
|
|
107
107
|
postCreateInstructions: [
|
|
108
108
|
'Learn more about Keycloak on Clever Cloud: https://developers.clever-cloud.com/doc/addons/keycloak/',
|
|
109
109
|
].join('\n'),
|