File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 50
50
# Commands
51
51
<!-- commands -->
52
52
* [ ` 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 )
54
54
* [ ` cdt bundlephobia [PACKAGE] ` ] ( #cdt-bundlephobia-package )
55
55
* [ ` cdt crypto [STRING] ` ] ( #cdt-crypto-string )
56
56
* [ ` cdt datetime [DATE] ` ] ( #cdt-datetime-date )
@@ -81,13 +81,13 @@ EXAMPLES
81
81
82
82
_ See code: [ @oclif/plugin-autocomplete ] ( https://github.com/oclif/plugin-autocomplete/blob/v0.1.4/src/commands/autocomplete/index.ts ) _
83
83
84
- ## ` cdt avro [COMMAND ] `
84
+ ## ` cdt avro [GET_SCHEMA|TO_JSON|TO_AVRO|TO_CSV ] `
85
85
86
86
Avro Utility command
87
87
88
88
```
89
89
USAGE
90
- $ cdt avro [COMMAND ]
90
+ $ cdt avro [GET_SCHEMA|TO_JSON|TO_AVRO|TO_CSV ]
91
91
92
92
OPTIONS
93
93
-f, --file=file input file path
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ export default class Avro extends Command {
25
25
26
26
}
27
27
28
- static args = [ { name : 'command' } ] // operation type
28
+ static args = [ { name : ` ${ Avro . SupportedCommands . join ( '|' ) } ` } ] // operation type
29
29
/*
30
30
* input,output, and operation are all must
31
31
* */
You can’t perform that action at this time.
0 commit comments