chargelink template
Create starter JSON files for scenarios and campaigns.
Reference syntax
usage: chargelink template [-h] {list,init} ...
positional arguments:
{list,init}
options:
-h, --help show this help message and exit
Subcommands
Subcommand |
Purpose |
|---|---|
|
List starter templates. |
|
Write a starter scenario or campaign JSON file. |
list
List starter templates.
CLI help
usage: chargelink template list [-h]
options:
-h, --help show this help message and exit
Production examples
List the current catalog.
chargelink template list
List the same catalog under an explicit runtime root.
chargelink template list
init
Write a starter scenario or campaign JSON file.
CLI help
usage: chargelink template init [-h] {scenario,campaign} output
positional arguments:
{scenario,campaign}
output
options:
-h, --help show this help message and exit
Production examples
Create a scenario template.
chargelink template init 'scenario' 'artifacts/templates/new_scenario.json'
Create a campaign template.
chargelink template init 'campaign' 'artifacts/templates/new_campaign.json'