You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-[Download the latest src_windows_amd64.exe](https://github.com/cdecode/cli-tool/releases/download/latest/src_windows_amd64.exe) and rename to `src.exe`.
49
-
- Place the file under e.g. `C:\Program Files\Cdecode\src.exe`
48
+
-[Download the latest cli_windows_amd64.exe](https://github.com/cdecode/cli-tool/releases/download/latest/cli_windows_amd64.exe) and rename to `cdecli.exe`.
49
+
- Place the file under e.g. `C:\Program Files\Cdecode\cdecli.exe`
50
50
- Add that directory to your system path to access it from any command prompt
51
51
52
52
## Usage
53
53
54
-
Consult `src -h` and `src api -h` for usage information.
54
+
Consult `cdecli -h` and `cdecli api -h` for usage information.
55
55
56
56
## Authentication
57
57
58
58
Some Cdecode instances will be configured to require authentication. You can do so via the environment:
59
59
60
60
```sh
61
-
SRC_ACCESS_TOKEN="secret"src ...
61
+
CLI_ACCESS_TOKEN="secret"cdecli ...
62
62
```
63
63
64
-
Or via the configuration file (`~/src-config.json`):
64
+
Or via the configuration file (`~/cdecli-config.json` or `<package_root_dir>/config.json`):
65
65
66
66
```sh
67
67
{"accessToken": "secret"}
68
68
```
69
69
70
-
See `src -h` for more information on specifying access tokens.
70
+
See `cdecli -h` for more information on specifying access tokens.
71
71
72
72
To acquire the access token, visit your Cdecode instance (or https://cdecode.com), click your profile picture, and select **access tokens** in the left hand menu.
73
73
@@ -76,7 +76,7 @@ To acquire the access token, visit your Cdecode instance (or https://cdecode.com
76
76
If you want to develop the CLI, you can install it with `go get`:
0 commit comments