Foundry.CliCommandTree¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
class |
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
None
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class Foundry.CliCommandTree(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
Manages a hierarchical tree of CLI commands.
Foundry.CliCommandTreeprovides functionality for organizing and managing command line interface commands in a hierarchical structure. It supports command registration, lookup, and provides efficient access to command functionality for the CLI system.- classmethod get_default()¶
- Returns:
- Return type:
Gets the default instance for use by the foundry CLI tool.
- classmethod new()¶
- Return type:
- complete(command_line, line, point, current)¶
- Parameters:
command_line (
Foundry.CommandLine) –line (
str) –point (
int) –current (
str) –
- Return type:
[
str]
- lookup(args, options)¶
- Parameters:
args (
str) –options (
Foundry.CliOptions) –
- Raises:
- Return type:
- register(path, command)¶
- Parameters:
path (
str) –command (
Foundry.CliCommand) –