From b6e18d2ec27c372cd34cffd850a29618085c1cf6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hubert=20SABLONNI=C3=88RE?= Date: Fri, 5 Apr 2024 15:51:27 +0200 Subject: [PATCH] feat(curl): list the command in clever help --- bin/clever.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/bin/clever.js b/bin/clever.js index d39fc67..634afd7 100755 --- a/bin/clever.js +++ b/bin/clever.js @@ -648,6 +648,12 @@ function run () { options: [opts.instanceType, opts.orgaIdOrName, opts.aliasCreation, opts.region, opts.github, opts.humanJsonOutputFormat], }, create('create')); + // CURL COMMAND + // NOTE: it's just here for documentation purposes, look at the bottom of the file for the real "clever curl" command + const curlCommand = cliparse.command('curl', { + description: 'Query Clever Cloud\'s API using Clever Tools credentials', + }, () => null); + // DELETE COMMAND const deleteCommandModule = lazyRequirePromiseModule('../src/commands/delete.js'); const deleteCommand = cliparse.command('delete', { @@ -1061,6 +1067,7 @@ function run () { appUnlinkCommand, cancelDeployCommand, configCommands, + curlCommand, databaseCommand, deleteCommand, deployCommand,