Rename Ctl's usage of "control" to "ctl" (#1039)

Ctl ended up calling its main class for "Control" for historical
reasons, along with its config file and plugin entrypoint.

The plugin entrypoint was renamed to ctl in 808eda0513.  This
finishes that renaming by also renaming the main class, default config
file, config-control command, and main entrypoint.

The config-control command is renamed to config to be consistent with
the host and controller's config commands.

The term "control" is still kept in the config and message locations as
a common specifier for both ctl and web_ui.
This commit is contained in:
Hornwitser authored and GitHub committed 2026-09-14 20:18:41 +02:00
1 parent 1d1d9bb1c4
commit 5df5af7ca8
35 files changed
+383 -383

No files matched your search

+5 -5
View File
@@ -17,7 +17,7 @@ Common options:
See the `plugin` command for managing this list.
* `--config <file>` JSON file to use for storing configuration for ctl.
Defaults to `config-control.json` and will be created if it does not exist.
Defaults to `config-ctl.json` and will be created if it does not exist.
See the `config` command for inspecting and modifying the configuration.
@@ -70,13 +70,13 @@ Since the `plugin-list.json` is shared between controller, host and ctl you usua
Lists the plugins set up to be available by name followed by path.
### `config-control`
### `config`
Manage the ctl configuration.
This allows setting the url and token to the controller to manage.
#### `config-control set <config-entry> [value]`
#### `config set <config-entry> [value]`
Set a config entry to the given value.
If value is not provided the entry is set to null.
@@ -85,12 +85,12 @@ If the config entry is of type object the value must be a valid JSON serializati
See docs/configuration.md in the main repositiory for the available configuration.
#### `config-control show <config-entry>`
#### `config show <config-entry>`
Shows the value for a single config entry.
#### `config-control list`
#### `config list`
Lists up all configuration entries with their currently configured values.