@primitivedotdev/cli
Advanced tools
+8
-2
| { | ||
| "name": "@primitivedotdev/cli", | ||
| "version": "0.32.0", | ||
| "version": "0.32.1", | ||
| "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.", | ||
@@ -61,3 +61,3 @@ "type": "module", | ||
| "sending": { | ||
| "description": "Send outbound emails. Prefer `primitive send` for fresh sends and `primitive reply --id <inbound-id>` for replies; use `primitive sending list`, `primitive sending get`, and `primitive sending permissions` for outbound history and permissions." | ||
| "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." | ||
| }, | ||
@@ -67,2 +67,8 @@ "signin": { | ||
| }, | ||
| "login": { | ||
| "description": "Log in to an existing Primitive account" | ||
| }, | ||
| "otp": { | ||
| "description": "Authenticate with an emailed one-time code" | ||
| }, | ||
| "sent": { | ||
@@ -69,0 +75,0 @@ "description": "Short aliases for outbound sent-email history: `primitive sent list` and `primitive sent get`." |
+11
-2
@@ -6,2 +6,9 @@ # @primitivedotdev/cli | ||
| ```bash | ||
| brew install primitivedotdev/tap/primitive | ||
| primitive whoami | ||
| ``` | ||
| Or with npm: | ||
| ```bash | ||
| npm install -g @primitivedotdev/cli | ||
@@ -37,6 +44,8 @@ primitive whoami | ||
| Use `primitive signin` for existing accounts. It defaults to browser approval; `primitive signin browser` is the explicit form and `primitive login` remains available for compatibility. | ||
| Use `primitive signin` or `primitive login` for existing accounts. With no email, both use browser approval; `primitive signin browser` and `primitive login browser` are the explicit browser forms. | ||
| Use `primitive signin otp <email> --signup-code <code> --accept-terms`, then `primitive signin otp confirm <email> <code>` for email-code sign-in. | ||
| Use `primitive signin <email> --signup-code <code> --accept-terms`, then `primitive signin confirm <email> <code>` for email-code sign-in. `primitive login <email>` and `primitive otp <email>` support the same email-code flow with matching `confirm` and `resend` subcommands. | ||
| Use `primitive logout --force` to remove local CLI credentials, pending email-code auth state, and stale credential locks without contacting Primitive. This is the recovery command when an interrupted auth command leaves the CLI saying another credential operation is already in progress. | ||
| Use `primitive signup <email>` for new account creation, then `primitive signup confirm <email> <code>` with the emailed verification code. Non-interactive signup is available with `--signup-code` and `--accept-terms`. | ||
@@ -43,0 +52,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
776534
2.57%20822
2.31%84
12%28
3.7%