]> Piment Noir Git Repositories - e-mobility-charging-stations-simulator.git/commitdiff
docs(cli-skill): align with CLI flags, conflict rules, and NO_COLOR support
authorJérôme Benoit <jerome.benoit@sap.com>
Wed, 27 May 2026 23:11:15 +0000 (01:11 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Wed, 27 May 2026 23:11:15 +0000 (01:11 +0200)
ui/cli/skills/evse-simulator/SKILL.md

index 102054954c3fec1821f4353f73949f24c9ceb50e..621be08ef7df1c29e07944c2ed3c63535fc9e15c 100644 (file)
@@ -40,11 +40,13 @@ Precedence: defaults < config file < `--config <path>` < `--server-url <url>`.
 
 ## Global Options
 
-| Option               | Description                  |
-| -------------------- | ---------------------------- |
-| `--json`             | Machine-readable JSON output |
-| `--config <path>`    | Path to config file          |
-| `--server-url <url>` | WebSocket URL override       |
+| Option                | Description                  |
+| --------------------- | ---------------------------- |
+| `--json`              | Machine-readable JSON output |
+| `-C, --config <path>` | Path to configuration file   |
+| `--server-url <url>`  | WebSocket URL override       |
+
+`NO_COLOR` environment variable disables color output (see [no-color.org](https://no-color.org/)).
 
 ## Commands
 
@@ -66,6 +68,9 @@ evse-cli station add -t <template> -n <count>             # Add stations
 evse-cli station add -t <template> -n 2 --auto-start      # Add and auto-start
 evse-cli station add -t <template> -n 1 --supervision-url ws://csms:8180/path
 evse-cli station add -t <template> -n 1 --base-name MY-CS --fixed-name
+evse-cli station add -t <template> -n 1 --name-suffix -EU         # Suffix appended to derived id
+evse-cli station add -t <template> -n 1 --ocpp-strict             # Enable OCPP strict compliance
+evse-cli station add -t <template> -n 1 --persistent-config       # Enable persistent OCPP config
 evse-cli station add -t <template> -n 1 --supervision-user alice --supervision-password s3cret
 evse-cli station delete [hashId...]                       # Delete station(s)
 evse-cli station delete --delete-config [hashId...]       # Delete with config files
@@ -135,6 +140,8 @@ evse-cli ocpp boot-notification -p @payload.json [hashId...]           # From fi
 cat payload.json | evse-cli ocpp boot-notification -p - [hashId...]    # From stdin
 ```
 
+For typed-option commands (`authorize`, `meter-values`, `status-notification`, `transaction start|stop`), `-p` conflicts with typed options and the two cannot be combined. For `data-transfer`, command options merge with `-p` and typed options take precedence over `-p` fields.
+
 ### Version-aware commands
 
 Commands with typed options (`authorize`, `meter-values`, `status-notification`, `transaction start`, `transaction stop`) auto-detect the target station's OCPP version and build the appropriate payload. Key differences: