🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@primitivedotdev/cli

Package Overview
Dependencies
Maintainers
2
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@primitivedotdev/cli - npm Package Compare versions

Comparing version
0.31.2
to
0.31.3
+4
-1
package.json
{
"name": "@primitivedotdev/cli",
"version": "0.31.2",
"version": "0.31.3",
"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.",

@@ -49,2 +49,5 @@ "type": "module",

},
"signin": {
"description": "Sign in to an existing Primitive account"
},
"sent": {

@@ -51,0 +54,0 @@ "description": "Short aliases for outbound sent-email history: `primitive sent list` and `primitive sent get`."

+9
-2

@@ -21,4 +21,3 @@ # @primitivedotdev/cli

```bash
export PRIMITIVE_API_KEY=prim_...
primitive signin
primitive whoami

@@ -36,2 +35,10 @@ primitive functions templates

## Authentication
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 otp <email> --signup-code <code> --accept-terms`, then `primitive signin otp confirm <email> <code>` for email-code sign-in.
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`.
## Command style

@@ -38,0 +45,0 @@

Sorry, the diff of this file is too big to display