norc-cli 0.1.8 → 0.1.10
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/index.js +20241 -7091
- package/package.json +7 -2
package/README.md
CHANGED
|
@@ -35,7 +35,7 @@ norc login
|
|
|
35
35
|
NORC_API_KEY=norc_sk_... norc login
|
|
36
36
|
|
|
37
37
|
# Interactive — needs your inbox
|
|
38
|
-
norc login you@example.com # one-time-code email login
|
|
38
|
+
norc login --email you@example.com # one-time-code email login
|
|
39
39
|
norc pair # link this machine to your account
|
|
40
40
|
```
|
|
41
41
|
|
|
@@ -49,7 +49,7 @@ to anyone inspecting the process list.
|
|
|
49
49
|
## Usage
|
|
50
50
|
|
|
51
51
|
```text
|
|
52
|
-
norc login
|
|
52
|
+
norc login --email <email> start email one-time-code login (prompts for an API key first if no email given; empty falls back to email)
|
|
53
53
|
norc login --key <api-key> log in + pair headlessly with a norc API key (vault → Settings → API Keys) — no email/browser
|
|
54
54
|
norc pair pair this machine with your norc account (after norc login)
|
|
55
55
|
norc jobs list list jobs in this machine's crontab
|
|
@@ -63,6 +63,15 @@ norc service install register+start the per-user background service
|
|
|
63
63
|
norc service uninstall stop+remove the per-user background service
|
|
64
64
|
```
|
|
65
65
|
|
|
66
|
+
Add `--debug` (or set `NORC_DEBUG=1`) to any command for step-by-step tracing — which backend URLs/config paths are in play, and full request/response detail for every network call (secrets shown as a redacted prefix only, e.g. `norc_sk_test1234…(28 chars)`):
|
|
67
|
+
|
|
68
|
+
```sh
|
|
69
|
+
norc login --key norc_sk_... --debug
|
|
70
|
+
NORC_DEBUG=1 norc login
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
Useful for anything that fails with a generic message like `pairing failed (500)` — `--debug` shows the raw server response instead.
|
|
74
|
+
|
|
66
75
|
## Background service
|
|
67
76
|
|
|
68
77
|
`norc service install` registers a per-user background service (LaunchAgent on macOS) that runs the bridge daemon automatically. Uninstall it before removing the CLI:
|