omni.kit.commands Functions#

Functions Summary:

create

Create **Command** object.

execute

Execute **Command**.

execute_argv

Execute **Command** using argument list..

get_argument_parser_from_function

get_command_class

Get **Command** class(type) by name.

get_command_class_signature

Get the init signature for a **Command**.

get_command_doc

Get **Command** docstring by name.

get_command_parameters

Get all parameters for a **Commands**.

get_commands

Get all registered **Commands**.

get_commands_list

Return list of all **Command** classes registered.

register

Register a **Command**.

register_all_commands_in_module

Register all **Commands** found in specified module.

register_callback

Register a callback for a command.

set_logging_enabled

subscribe_on_change

Subscribe to module change events. Triggered when commands added, executed.

unregister

Unregister a **Command**.

unregister_callback

Unregister a command callback previously registered through **register_callback**.

unregister_module_commands

Unregister the list of commands registered by register_all_commands_in_module

unsubscribe_on_change

Unsubscribe to module change events.