Skip to content

Commit dd473d6

Browse files
committed
cdt-67 added docs
Signed-off-by: ashish <[email protected]>
1 parent 47037ee commit dd473d6

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ USAGE
5050
# Commands
5151
<!-- commands -->
5252
* [`cdt autocomplete [SHELL]`](#cdt-autocomplete-shell)
53-
* [`cdt avro [COMMAND]`](#cdt-avro-command)
53+
* [`cdt avro [GET_SCHEMA|TO_JSON|TO_AVRO|TO_CSV]`](#cdt-avro-get_schemato_jsonto_avroto_csv)
5454
* [`cdt bundlephobia [PACKAGE]`](#cdt-bundlephobia-package)
5555
* [`cdt crypto [STRING]`](#cdt-crypto-string)
5656
* [`cdt datetime [DATE]`](#cdt-datetime-date)
@@ -81,13 +81,13 @@ EXAMPLES
8181

8282
_See code: [@oclif/plugin-autocomplete](https://github.com/oclif/plugin-autocomplete/blob/v0.1.4/src/commands/autocomplete/index.ts)_
8383

84-
## `cdt avro [COMMAND]`
84+
## `cdt avro [GET_SCHEMA|TO_JSON|TO_AVRO|TO_CSV]`
8585

8686
Avro Utility command
8787

8888
```
8989
USAGE
90-
$ cdt avro [COMMAND]
90+
$ cdt avro [GET_SCHEMA|TO_JSON|TO_AVRO|TO_CSV]
9191
9292
OPTIONS
9393
-f, --file=file input file path

src/commands/avro.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export default class Avro extends Command {
2525

2626
}
2727

28-
static args = [{name: 'command'}] // operation type
28+
static args = [{name: `${Avro.SupportedCommands.join('|')}`}] // operation type
2929
/*
3030
* input,output, and operation are all must
3131
* */

0 commit comments

Comments
 (0)