tuoniCommandTemplate

class tuoni.TuoniCommandTemplate(conf, c2)[source]

A class that provides data and functionality for a command template.

id

The unique identifier of the command template.

Type:

str

name

The name of the command template.

Type:

str

plugin_id

The unique identifier of the command plugin.

Type:

str

scope

The scope of the command template.

Type:

str

qualifiedName

The qualified name of the command template.

Type:

str

fullyQualifiedName

The fully qualified name of the command template.

Type:

str

description

A description of the command template.

Type:

str

conf_schema

The configuration schema for the command template.

Type:

dict

conf_examples

Examples of valid configurations for the command template.

Type:

dict

get_default_conf()[source]

Retrieve the default configuration for the command template.

Returns:

The default configuration settings, or an empty dictionary if none are defined.

Return type:

dict

get_minimal_conf()[source]

Retrieve the minimal configuration for the command template.

Returns:

The minimal configuration settings, or an empty dictionary if none are defined.

Return type:

dict