File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -415,14 +415,14 @@ def __getattr__(self, attr):
415415
416416class GroupReference :
417417 """
418- Simple class to hold tools command group names comparable to how
419- they would be invoked using the CLI.
418+ Simple class to hold tools command group names.
420419
421- For example, tools vm create is stored as ("tools", "vm", "create")
420+ These are comparable to how they would be invoked using the CLI.
421+ For example, ``tools vm create`` is stored as ``("tools", "vm", "create")``
422422 """
423423
424424 _instance : GroupReference | None = None
425- _commands : list [ str ]
425+ _commands : dict [ tuple [ str , ...], CommandGroup ]
426426
427427 def __new__ (cls ):
428428 """
@@ -435,7 +435,7 @@ def __new__(cls):
435435 return cls ._instance
436436
437437 @classmethod
438- def add_command (cls , cli_name : tuple [str ], group : CommandGroup ) -> None :
438+ def add_command (cls , cli_name : tuple [str , ... ], group : CommandGroup ) -> None :
439439 """
440440 Add a tools command.
441441 """
You can’t perform that action at this time.
0 commit comments