@atollhq/cli 0.1.4 → 0.1.6
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 +26 -3
- package/dist/index.js +383 -36
- package/dist/index.js.map +1 -1
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -14,6 +14,8 @@ npx @atollhq/cli --help
|
|
|
14
14
|
|
|
15
15
|
```bash
|
|
16
16
|
atoll auth login --key sk_atoll_...
|
|
17
|
+
atoll auth setup
|
|
18
|
+
atoll auth manage
|
|
17
19
|
atoll auth status
|
|
18
20
|
```
|
|
19
21
|
|
|
@@ -25,9 +27,12 @@ Use profiles when you have multiple agent keys with different org or project acc
|
|
|
25
27
|
|
|
26
28
|
```bash
|
|
27
29
|
atoll auth login --profile agent-a --key sk_atoll_... --org acme
|
|
28
|
-
atoll auth login --profile agent-b --key sk_atoll_... --org client
|
|
30
|
+
atoll auth login --profile agent-b --key sk_atoll_... --org client --project project-uuid
|
|
31
|
+
atoll auth setup
|
|
32
|
+
atoll auth manage
|
|
29
33
|
atoll auth profiles
|
|
30
34
|
atoll auth use agent-a
|
|
35
|
+
atoll auth delete-profile agent-b --force
|
|
31
36
|
```
|
|
32
37
|
|
|
33
38
|
Run a single command with a specific profile:
|
|
@@ -37,12 +42,15 @@ atoll --profile agent-b issue list
|
|
|
37
42
|
atoll --profile agent-a --org acme issue create --title "Fix login bug"
|
|
38
43
|
```
|
|
39
44
|
|
|
40
|
-
Each profile can store its own API key, default org, default team, and base URL. `--org
|
|
45
|
+
Each profile can store its own API key, default org, default team, default project, and base URL. `--org`, `--team`, and command-specific `--project` flags still override the selected profile for a single command.
|
|
46
|
+
|
|
47
|
+
Use `atoll auth profiles` for a quick read-only list, `atoll auth manage` for an interactive profile menu, and `atoll auth delete-profile <name> --force` for scripted cleanup.
|
|
41
48
|
|
|
42
49
|
## Usage
|
|
43
50
|
|
|
44
51
|
```bash
|
|
45
52
|
atoll issue list
|
|
53
|
+
atoll issue list --project <project-id>
|
|
46
54
|
atoll heartbeat
|
|
47
55
|
atoll issue create --title "Fix login bug" --priority 1
|
|
48
56
|
atoll issue view ATOLL-42
|
|
@@ -61,9 +69,24 @@ The CLI stores state in `~/.atoll/config.json`. You can override the profile, or
|
|
|
61
69
|
atoll --profile agent-a issue list
|
|
62
70
|
atoll --org my-org issue list
|
|
63
71
|
atoll --team eng issue create --title "..."
|
|
72
|
+
atoll issue create --project project-uuid --title "..."
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
Or via env vars: `ATOLL_PROFILE`, `ATOLL_API_KEY`, `ATOLL_ORG`, `ATOLL_TEAM`, `ATOLL_PROJECT`, `ATOLL_BASE_URL`.
|
|
76
|
+
|
|
77
|
+
`atoll config show` prints where each resolved value came from, such as `$ATOLL_API_KEY`,
|
|
78
|
+
`~/.atoll/config.json`, or a named profile in that config file. This helps distinguish
|
|
79
|
+
fresh installs from previously saved local configuration.
|
|
80
|
+
|
|
81
|
+
Set or clear a default project for the selected profile:
|
|
82
|
+
|
|
83
|
+
```bash
|
|
84
|
+
atoll config set-project project-uuid
|
|
85
|
+
atoll config clear-project
|
|
64
86
|
```
|
|
65
87
|
|
|
66
|
-
|
|
88
|
+
When a default project is configured, `atoll issue list`, `atoll issue create`,
|
|
89
|
+
`atoll milestone list`, and `atoll milestone create` use it unless `--project` is passed.
|
|
67
90
|
|
|
68
91
|
## Agent-friendly output
|
|
69
92
|
|