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 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
8686Avro Utility command
8787
8888```
8989USAGE
90- $ cdt avro [COMMAND ]
90+ $ cdt avro [GET_SCHEMA|TO_JSON|TO_AVRO|TO_CSV ]
9191
9292OPTIONS
9393 -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 {
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 * */
You can’t perform that action at this time.
0 commit comments