routess 1.122.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +36 -0
- package/dist/index.js +4709 -0
- package/package.json +17 -0
package/README.md
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# Routess CLI
|
|
2
|
+
|
|
3
|
+
Command-line interface for Routess.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
npm install -g routess
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Authenticate
|
|
12
|
+
|
|
13
|
+
Create a Personal Access Token in the Routess web app under **Settings -> API Tokens**, then run:
|
|
14
|
+
|
|
15
|
+
```sh
|
|
16
|
+
routess auth login --token routess_pat_...
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
CI and agent environments can skip local storage and provide the token directly:
|
|
20
|
+
|
|
21
|
+
```sh
|
|
22
|
+
export ROUTESS_TOKEN=routess_pat_...
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
## Commands
|
|
26
|
+
|
|
27
|
+
```sh
|
|
28
|
+
routess auth whoami
|
|
29
|
+
routess routes list
|
|
30
|
+
routess routes get <id>
|
|
31
|
+
routess routes update <id> --name "New name"
|
|
32
|
+
routess routes update <id> --visibility public --confirm
|
|
33
|
+
routess routes delete <id> --confirm
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
Use `--json` for machine-readable output.
|