Foundry.CliCommandTree

g Foundry.CliCommandTree Foundry.CliCommandTree GObject.Object GObject.Object GObject.Object->Foundry.CliCommandTree

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

get_default ()

class

new ()

complete (command_line, line, point, current)

lookup (args, options)

register (path, command)

Virtual Methods

Inherited:

GObject.Object (7)

Properties

None

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Class Details

class Foundry.CliCommandTree(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

Foundry.CliCommandTreeClass

Manages a hierarchical tree of CLI commands.

Foundry.CliCommandTree provides 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:

a Foundry.CliCommandTree

Return type:

Foundry.CliCommandTree

Gets the default instance for use by the foundry CLI tool.

classmethod new()
Return type:

Foundry.CliCommandTree

complete(command_line, line, point, current)
Parameters:
Return type:

[str]

lookup(args, options)
Parameters:
Raises:

GLib.Error

Return type:

Foundry.CliCommand

register(path, command)
Parameters: