Skip to content

Commit c7796e7

Browse files
committed
.commandline stuff 📣
1 parent 8b5ea9a commit c7796e7

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

‎usync/04.command/10.Commands.md‎

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,19 @@ Options:
1818
`--version Show version information`
1919
`-?, -h, --help Show help and usage information`
2020
```
21+
## Common Parameters
22+
23+
When you enter a command you need to provide the server url. This tells it which server to hit. To do this, enter `-s` and then your server address, for example:
24+
25+
```
26+
usynccli usync-ping -s https://myServer.com
27+
```
28+
29+
You then need to provide client credentials. Client credentials can be provided [through the appsettings.json](../command/APIuser) file or in the command-line itself. To enter client credentials in the command-line, enter `-k` and then your client secret. Following that, enter `-i` and then your client ID. For example:
30+
31+
```
32+
usynccli usync-ping -s https://myServer.com -k Client_Secret -i Client_ID
33+
```
2134

2235
## What are the Commands?
2336

‎usync/04.command/_category_.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"label": "uSync.CommandLine",
33
"link": {
44
"type": "generated-index",
5-
"title": "Commands",
5+
"title": "uSync.CommandLine",
66
"description": "Your guide to uSync.CommandLine setup and features. "
77
}
88
}

0 commit comments

Comments
 (0)