File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ program
61
61
await generate ( generatorList ( { language, client, clientList } ) ) ;
62
62
} ) ;
63
63
64
- const buildCommand = program . command ( 'build' ) ;
64
+ const buildCommand = program . command ( 'build' ) . description ( 'Build the clients or specs' ) ;
65
65
66
66
buildCommand
67
67
. command ( 'clients' )
@@ -104,7 +104,7 @@ buildCommand
104
104
} ) ;
105
105
} ) ;
106
106
107
- const ctsCommand = program . command ( 'cts' ) ;
107
+ const ctsCommand = program . command ( 'cts' ) . description ( 'Generate and run the CTS tests' ) ;
108
108
109
109
ctsCommand
110
110
. command ( 'generate' )
Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ _apic_complete() {
92
92
cur=" ${COMP_WORDS[COMP_CWORD]} "
93
93
prev=" ${COMP_WORDS[COMP_CWORD-1]} "
94
94
if [[ COMP_CWORD -eq 1 ]]; then
95
- COMPREPLY=($( compgen -W " generate build cts playground format snippets" -- " $cur " ) )
95
+ COMPREPLY=($( compgen -W " build cts format generate playground release snippets" -- " $cur " ) )
96
96
else
97
97
first=" ${COMP_WORDS[1]} "
98
98
if [[ $first == " generate" || $first == " playground" || $first == " snippets" ]]; then
@@ -103,6 +103,8 @@ _apic_complete() {
103
103
_apic_build_complete
104
104
elif [[ $first == " cts" ]]; then
105
105
_apic_cts_complete
106
+ elif [[ $first == " release" ]]; then
107
+ COMPREPLY=($( compgen -W " $( _list_languages_all) " -- " $cur " ) )
106
108
fi
107
109
fi
108
110
}
You can’t perform that action at this time.
0 commit comments