@primitivedotdev/cli 0.32.0 → 0.33.0
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 +11 -2
- package/dist/oclif/index.js +1593 -853
- package/man/primitive.1 +20 -0
- package/package.json +8 -2
package/man/primitive.1
CHANGED
|
@@ -23,12 +23,32 @@ flag or use generated operation output that can be piped into tools such as
|
|
|
23
23
|
.SH AUTHENTICATION
|
|
24
24
|
Commands use saved OAuth credentials from
|
|
25
25
|
.B primitive signin
|
|
26
|
+
or
|
|
27
|
+
.B primitive login
|
|
26
28
|
or an API key from
|
|
27
29
|
.B --api-key
|
|
28
30
|
or
|
|
29
31
|
.BR PRIMITIVE_API_KEY .
|
|
30
32
|
.PP
|
|
31
33
|
Run
|
|
34
|
+
.B primitive signin EMAIL --signup-code CODE --accept-terms
|
|
35
|
+
to start email-code sign-in, then run
|
|
36
|
+
.B primitive signin confirm EMAIL CODE
|
|
37
|
+
with the emailed verification code.
|
|
38
|
+
.B primitive login EMAIL
|
|
39
|
+
and
|
|
40
|
+
.B primitive otp EMAIL
|
|
41
|
+
support the same email-code flow. Run
|
|
42
|
+
.B primitive signin
|
|
43
|
+
or
|
|
44
|
+
.B primitive login
|
|
45
|
+
with no email to use browser approval.
|
|
46
|
+
.PP
|
|
47
|
+
Run
|
|
48
|
+
.B primitive logout --force
|
|
49
|
+
to remove local credentials, pending email-code auth state, and stale credential locks without contacting Primitive.
|
|
50
|
+
.PP
|
|
51
|
+
Run
|
|
32
52
|
.B primitive whoami
|
|
33
53
|
to verify which account the CLI is authenticated as.
|
|
34
54
|
.SH COMMON COMMANDS
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@primitivedotdev/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.33.0",
|
|
4
4
|
"description": "Official Primitive CLI: deploy Primitive Functions, send and inspect mail, manage endpoints, all from the terminal. Wraps the @primitivedotdev/sdk runtime client with one-shot commands.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -58,11 +58,17 @@
|
|
|
58
58
|
"description": "List, inspect, and wait for received emails. Prefer task aliases like `primitive emails list`, `primitive emails get`, `primitive emails latest`, `primitive emails wait`, and `primitive emails watch`; generated API names remain available for compatibility."
|
|
59
59
|
},
|
|
60
60
|
"sending": {
|
|
61
|
-
"description": "Send outbound emails. Prefer `primitive send` for fresh sends and `primitive reply --id <inbound-id>` for replies
|
|
61
|
+
"description": "Send outbound emails. Prefer `primitive send` for fresh sends and `primitive reply --id <inbound-id>` for replies. Use `primitive domains list` or `primitive inbox status` to find usable sender domains for --from; `primitive sending permissions` lists recipient-scope destinations you may send to."
|
|
62
62
|
},
|
|
63
63
|
"signin": {
|
|
64
64
|
"description": "Sign in to an existing Primitive account"
|
|
65
65
|
},
|
|
66
|
+
"login": {
|
|
67
|
+
"description": "Log in to an existing Primitive account"
|
|
68
|
+
},
|
|
69
|
+
"otp": {
|
|
70
|
+
"description": "Authenticate with an emailed one-time code"
|
|
71
|
+
},
|
|
66
72
|
"sent": {
|
|
67
73
|
"description": "Short aliases for outbound sent-email history: `primitive sent list` and `primitive sent get`."
|
|
68
74
|
},
|