Skip to content

Commit

Permalink
Fix oclif cli generation.
Browse files Browse the repository at this point in the history
  • Loading branch information
Louis Lambeau committed Dec 12, 2022
1 parent 0a7e0bf commit 41b2ad3
Show file tree
Hide file tree
Showing 4 changed files with 4,010 additions and 803 deletions.
23 changes: 1 addition & 22 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ $ npm install -g @quadrabee/arnavon
$ arnavon COMMAND
running command...
$ arnavon (--version)
@quadrabee/arnavon/0.2.12 darwin-x64 node-v14.20.0
@quadrabee/arnavon/1.0.0-rc.0 darwin-x64 node-v14.20.0
$ arnavon --help [COMMAND]
USAGE
$ arnavon COMMAND
Expand All @@ -31,31 +31,10 @@ USAGE
<!-- usagestop -->
# Commands
<!-- commands -->
* [`arnavon help [COMMAND]`](#arnavon-help-command)
* [`arnavon start`](#arnavon-start)
* [`arnavon start:api`](#arnavon-startapi)
* [`arnavon start:consumer [NAME]`](#arnavon-startconsumer-name)

## `arnavon help [COMMAND]`

Display help for arnavon.

```
USAGE
$ arnavon help [COMMAND] [-n]
ARGUMENTS
COMMAND Command to show help for.
FLAGS
-n, --nested-commands Include all nested commands in the output.
DESCRIPTION
Display help for arnavon.
```

_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v5.1.20/src/commands/help.ts)_

## `arnavon start`

Starts an arnavon component
Expand Down
2 changes: 1 addition & 1 deletion oclif.manifest.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"version":"0.2.12","commands":{"start:api":{"id":"start:api","summary":"The REST API provides ways to push Jobs to queues, with validation","strict":true,"pluginName":"@quadrabee/arnavon","pluginAlias":"@quadrabee/arnavon","pluginType":"core","aliases":[],"flags":{"config":{"name":"config","type":"option","char":"c","summary":"location of config file (defaults to 'config.yaml').","multiple":false,"default":"config.yaml"},"port":{"name":"port","type":"option","char":"p","description":"Port to use for API (default 3000)","multiple":false}},"args":[]},"start:consumer":{"id":"start:consumer","summary":"Starts an Arnavon consumer\n...\nThis command can be used to start one of the consumer defined in your config file.\n\nPlease note that the --all flag can be used to start all consumers at once, but this is not recommended in production.\n","strict":true,"pluginName":"@quadrabee/arnavon","pluginAlias":"@quadrabee/arnavon","pluginType":"core","aliases":[],"flags":{"config":{"name":"config","type":"option","char":"c","summary":"location of config file (defaults to 'config.yaml').","multiple":false,"default":"config.yaml"},"all":{"name":"all","type":"boolean","char":"a","description":"Start all consumers instead of just one (not recommended, but can be useful in dev)","allowNo":false},"except":{"name":"except","type":"option","char":"x","description":"Specify a consumer that should not be started. (Requires -a/--all. Can be used multiple times)","multiple":true,"dependsOn":["all"]},"port":{"name":"port","type":"option","char":"p","description":"Port to use for API (default 3000)","multiple":false}},"args":[{"name":"name","description":"The name of the consumer to start","required":false}]},"start":{"id":"start","summary":"Starts an arnavon component","strict":true,"pluginName":"@quadrabee/arnavon","pluginAlias":"@quadrabee/arnavon","pluginType":"core","aliases":[],"flags":{},"args":[]}}}
{"version":"1.0.0-rc.0","commands":{"start:api":{"id":"start:api","summary":"The REST API provides ways to push Jobs to queues, with validation","strict":true,"pluginName":"@quadrabee/arnavon","pluginAlias":"@quadrabee/arnavon","pluginType":"core","aliases":[],"flags":{"config":{"name":"config","type":"option","char":"c","summary":"location of config file (defaults to 'config.yaml').","multiple":false,"default":"config.yaml"},"port":{"name":"port","type":"option","char":"p","description":"Port to use for API (default 3000)","multiple":false}},"args":[]},"start:consumer":{"id":"start:consumer","summary":"Starts an Arnavon consumer\n...\nThis command can be used to start one of the consumer defined in your config file.\n\nPlease note that the --all flag can be used to start all consumers at once, but this is not recommended in production.\n","strict":true,"pluginName":"@quadrabee/arnavon","pluginAlias":"@quadrabee/arnavon","pluginType":"core","aliases":[],"flags":{"config":{"name":"config","type":"option","char":"c","summary":"location of config file (defaults to 'config.yaml').","multiple":false,"default":"config.yaml"},"all":{"name":"all","type":"boolean","char":"a","description":"Start all consumers instead of just one (not recommended, but can be useful in dev)","allowNo":false},"except":{"name":"except","type":"option","char":"x","description":"Specify a consumer that should not be started. (Requires -a/--all. Can be used multiple times)","multiple":true,"dependsOn":["all"]},"port":{"name":"port","type":"option","char":"p","description":"Port to use for API (default 3000)","multiple":false}},"args":[{"name":"name","description":"The name of the consumer to start","required":false}]},"start":{"id":"start","summary":"Starts an arnavon component","strict":true,"pluginName":"@quadrabee/arnavon","pluginAlias":"@quadrabee/arnavon","pluginType":"core","aliases":[],"flags":{},"args":[]}}}
Loading

0 comments on commit 41b2ad3

Please sign in to comment.