chargelink macro ================ Store and replay short CLI macro strings. Reference syntax ---------------- .. code-block:: text usage: chargelink macro [-h] {save,play} ... positional arguments: {save,play} options: -h, --help show this help message and exit Subcommands ----------- .. list-table:: :header-rows: 1 :widths: 25 75 * - Subcommand - Purpose * - ``save`` - Save a short CLI macro string. * - ``play`` - Execute a saved macro. save ---- Save a short CLI macro string. CLI help ~~~~~~~~ .. code-block:: text 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.** .. code-block:: bash chargelink macro save 'bringup' 'lab check; evse status demo' --runtime-root '.tmp/runtime' **Save a review macro for campaign artifacts.** .. code-block:: bash chargelink macro save 'review' 'campaign packages; suite list; backend list' --runtime-root '.tmp/runtime' play ---- Execute a saved macro. CLI help ~~~~~~~~ .. code-block:: text 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.** .. code-block:: bash chargelink macro play 'bringup' --runtime-root '.tmp/runtime' **Play a review macro.** .. code-block:: bash chargelink macro play 'review' --runtime-root '.tmp/runtime'