pengutils.utils.cli_plugins module

Plugins CLI

This script provides a command-line interface (CLI) for managing plugins via the Penguin RemoteCtrl Plugin Unix socket. It uses Click for the CLI interface.

Example usage

plugins load plugin_name [key=value ...]
plugins enable plugin_name [key=value ...]
plugins disable plugin_name [key=value ...]

Options

  • --sock: Path to plugin socket (default: /workspace/results/latest/remotectrl.sock)

pengutils.utils.cli_plugins.parse_extra_args(args_tuple)[source]

Parses a tuple of arguments into a dictionary. Supports ‘key=value’ for key-value pairs. Supports ‘flag’ (no equals sign) as {flag: True}. Performs basic type inference for booleans and integers.