@trayai/tray-sync-cli 0.0.5 → 0.0.7
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 +20 -6
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -11,12 +11,26 @@ CLI tool to clone tray projects and related assets on local machine which then c
|
|
|
11
11
|
npm install -g @trayai/tray-sync-cli
|
|
12
12
|
```
|
|
13
13
|
|
|
14
|
-
##
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
tray
|
|
19
|
-
|
|
14
|
+
## CLI Commands
|
|
15
|
+
|
|
16
|
+
| Command | Description |
|
|
17
|
+
|---------|-------------|
|
|
18
|
+
| `tray init -r <region> -w <workspace-id>` | Scaffold a new tray-sync-cli repository |
|
|
19
|
+
| `tray pull` | Export tracked projects from Tray and materialise them on disk |
|
|
20
|
+
| `tray promote <env>` | Reconstruct local projects and import them into a target Tray environment |
|
|
21
|
+
| `tray status` | Local checksum-based drift detection (zero API calls) |
|
|
22
|
+
| `tray project add <project-id>` | Track a project (project scope only) |
|
|
23
|
+
| `tray project remove <project-id>` | Untrack a project and delete its local directory (project scope only) |
|
|
24
|
+
| `tray project list` | List managed projects with directory names and last-pulled timestamps |
|
|
25
|
+
| `tray env add <name>` | Add a target environment |
|
|
26
|
+
| `tray env list` | List source and target environments with connectivity status |
|
|
27
|
+
| `tray env remove <name>` | Remove a target environment and its per-project mappings |
|
|
28
|
+
| `tray env resolve <env-name>` | Report unresolved auth requirements for a target env, with candidate matches |
|
|
29
|
+
| `tray auth set -w <workspace-id> -r <region> -t <token>` | Set (or overwrite) a workspace's token |
|
|
30
|
+
| `tray auth remove -w <workspace-id>` | Remove a workspace's stored token |
|
|
31
|
+
| `tray auth list` | List workspaces with stored credentials |
|
|
32
|
+
| `tray --version` | Print the installed CLI version |
|
|
33
|
+
| `tray --help` | Show help for the CLI or a specific command |
|
|
20
34
|
|
|
21
35
|
## Getting started: a first promotion, end to end
|
|
22
36
|
|
package/package.json
CHANGED