Skip to content

Commit

Permalink
feat(curl): list the command in clever help
Browse files Browse the repository at this point in the history
  • Loading branch information
hsablonniere committed Apr 5, 2024
1 parent 520d04b commit b6e18d2
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions bin/clever.js
Original file line number Diff line number Diff line change
Expand Up @@ -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', {
Expand Down Expand Up @@ -1061,6 +1067,7 @@ function run () {
appUnlinkCommand,
cancelDeployCommand,
configCommands,
curlCommand,
databaseCommand,
deleteCommand,
deployCommand,
Expand Down

0 comments on commit b6e18d2

Please sign in to comment.