@primitivedotdev/cli 0.31.1 → 0.31.3
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 +9 -2
- package/dist/oclif/index.js +1986 -690
- package/package.json +7 -1
package/README.md
CHANGED
|
@@ -18,8 +18,7 @@ This package wraps the [@primitivedotdev/sdk](https://www.npmjs.com/package/@pri
|
|
|
18
18
|
## Quickstart
|
|
19
19
|
|
|
20
20
|
```bash
|
|
21
|
-
|
|
22
|
-
|
|
21
|
+
primitive signin
|
|
23
22
|
primitive whoami
|
|
24
23
|
primitive functions templates
|
|
25
24
|
primitive functions init my-fn
|
|
@@ -32,6 +31,14 @@ primitive emails latest --limit 5
|
|
|
32
31
|
|
|
33
32
|
Run `primitive --help` for the full command list. Per-command help (`primitive functions deploy --help`) carries enough detail that an agent can compose any operation without leaving the terminal.
|
|
34
33
|
|
|
34
|
+
## Authentication
|
|
35
|
+
|
|
36
|
+
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.
|
|
37
|
+
|
|
38
|
+
Use `primitive signin otp <email> --signup-code <code> --accept-terms`, then `primitive signin otp confirm <email> <code>` for email-code sign-in.
|
|
39
|
+
|
|
40
|
+
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`.
|
|
41
|
+
|
|
35
42
|
## Command style
|
|
36
43
|
|
|
37
44
|
Use task-oriented commands for normal workflows:
|