chargelink macro
Store and replay short CLI macro strings.
Reference syntax
usage: chargelink macro [-h] {save,play} ...
positional arguments:
{save,play}
options:
-h, --help show this help message and exit
Subcommands
Subcommand |
Purpose |
|---|---|
|
Save a short CLI macro string. |
|
Execute a saved macro. |
save
Save a short CLI macro string.
CLI help
usage: chargelink macro save [-h] [--runtime-root RUNTIME_ROOT] name commands
positional arguments:
name
commands
options:
-h, --help show this help message and exit
--runtime-root RUNTIME_ROOT
Production examples
Save a quick bring-up macro.
chargelink macro save 'bringup' 'lab check; evse status demo' --runtime-root '.tmp/runtime'
Save a review macro for campaign artifacts.
chargelink macro save 'review' 'campaign packages; suite list; backend list' --runtime-root '.tmp/runtime'
play
Execute a saved macro.
CLI help
usage: chargelink macro play [-h] [--runtime-root RUNTIME_ROOT] name
positional arguments:
name
options:
-h, --help show this help message and exit
--runtime-root RUNTIME_ROOT
Production examples
Play a saved bring-up macro.
chargelink macro play 'bringup' --runtime-root '.tmp/runtime'
Play a review macro.
chargelink macro play 'review' --runtime-root '.tmp/runtime'