File tree Expand file tree Collapse file tree
src/azure-cli-core/azure/cli/core Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4949 "cwd" : " ${workspaceFolder}" ,
5050 "env" : {
5151 "_ARGCOMPLETE" : " 1" ,
52- "COMP_LINE" : " az " ,
53- "COMP_POINT" : " 3 " ,
52+ "COMP_LINE" : " az vm create -- " ,
53+ "COMP_POINT" : " 18 " ,
5454 "_ARGCOMPLETE_SUPPRESS_SPACE" : " 0" ,
5555 "_ARGCOMPLETE_IFS" : " \n " ,
5656 "_ARGCOMPLETE_SHELL" : " powershell" ,
Original file line number Diff line number Diff line change @@ -434,7 +434,6 @@ def _get_extension_suppressions(mod_loaders):
434434 index_result = command_index .get (args )
435435 if index_result :
436436 index_modules , index_extensions = index_result
437-
438437 # Special case for top-level completion - create minimal command groups
439438 if index_modules == '__top_level_completion__' :
440439 from azure .cli .core .commands import AzCliCommand
@@ -447,11 +446,11 @@ def _get_extension_suppressions(mod_loaders):
447446 self , cmd_name , lambda : None
448447 )
449448 return self .command_table
450-
449+
451450 # Always load modules and extensions, because some of them (like those in
452451 # ALWAYS_LOADED_EXTENSIONS) don't expose a command, but hooks into handlers in CLI core
453452 _update_command_table_from_modules (args , index_modules )
454-
453+
455454 # The index won't contain suppressed extensions
456455 _update_command_table_from_extensions ([], index_extensions )
457456
You can’t perform that action at this time.
0 commit comments