|
1 | 1 | # Sample Aggregator CLI usage
|
2 | 2 |
|
3 | 3 | run `aggregator-cli.exe` (Windows), `aggregator-cli` (Linux) or `dotnet aggregator-cli.dll` followed by the command and any option.
|
| 4 | + |
| 5 | + |
| 6 | +### Options valid for all command |
4 | 7 | All commands accept the `--verbose` option to print additional messages for troubleshooting.
|
5 | 8 |
|
| 9 | +With `--namingTemplate`, you can specify affixes for all Azure resource that will be created or used. |
| 10 | + follows |
| 11 | + |
| 12 | +```json |
| 13 | +{ |
| 14 | + "ResourceGroupPrefix": "aggregator-", |
| 15 | + "ResourceGroupSuffix": "-sfx", |
| 16 | + "FunctionAppPrefix": "fp", |
| 17 | + "FunctionAppSuffix": "fs", |
| 18 | + "HostingPlanPrefix": "hp", |
| 19 | + "HostingPlanSuffix": "hs", |
| 20 | + "AppInsightPrefix": "aip", |
| 21 | + "AppInsightSuffix": "ais", |
| 22 | + "StorageAccountPrefix": "strg", |
| 23 | + "StorageAccountSuffix": "31415" |
| 24 | +} |
| 25 | +``` |
| 26 | + |
| 27 | +If you use this, the `--resourceGroup` option is mandatory. |
| 28 | + |
6 | 29 |
|
7 | 30 | ### Logon
|
8 | 31 | You are required to log into both Azure and ADO. The credentials are cached locally and expire after 2 hours. _(Replace the below asterisks `*` with valid values.)_
|
@@ -181,4 +204,4 @@ Runs existing rule in Azure, no change is sent to Azure DevOps thanks to the `dr
|
181 | 204 | invoke.rule --instance my7 --resourceGroup test-aggregator7 --name r1 --event workitem.created --account giuliovaad --project WorkItemTracking --workItemId 14 --verbose --dryrun
|
182 | 205 | ```
|
183 | 206 | If you want to see the log messages, run a `stream.logs` command in another window.
|
184 |
| -This can be used (without the `dryrun` flag) to apply rules to existing work items. |
| 207 | +This can be used (without the `dryrun` flag) to apply rules to existing work items. |
0 commit comments