@blotout/qinto-cli 0.1.1 → 0.1.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 CHANGED
@@ -10,6 +10,20 @@ npm i -g @blotout/qinto-cli
10
10
 
11
11
  Needs Node.js 24 or newer. The command is `qinto`.
12
12
 
13
+ ## Stay up to date
14
+
15
+ ```sh
16
+ qinto update
17
+ ```
18
+
19
+ `update` asks npm for the newest published version and, when that is newer than the one running, installs it with the package
20
+ manager that installed the CLI — npm, pnpm, yarn, or bun, each detected from the install path. An `npx` run and a source checkout
21
+ have nothing to update, and the command says so instead of installing anything.
22
+
23
+ Every other command also checks for a new version, at most once a day, and prints a yellow notice on stderr when one exists. The
24
+ notice never appears in machine mode (`--json`, `--no-input`, or a non-terminal stderr), so piped and agent-driven output stays
25
+ clean. `NO_COLOR` drops the colour; `QINTO_NO_UPDATE_CHECK=1` turns the check off altogether.
26
+
13
27
  ## Log in
14
28
 
15
29
  ```sh
@@ -327,6 +341,7 @@ Every interactive path has a non-interactive equivalent. This is a standing rule
327
341
  | `--no-browser` | `login` prints the authorize URL instead of opening a browser; open it in a browser on the same host so its loopback callback reaches the CLI. |
328
342
  | `QINTO_API_TOKEN` | A bearer token that takes precedence over stored logins. Works with team API tokens (`qapi_`, from Team → API tokens in the Qinto platform) and OAuth access tokens (`qoa_`). No browser needed. |
329
343
  | `QINTO_ENV` | `production` or `sandbox` for every command in the shell — the non-interactive stand-in for `qinto env`, which stores the same choice. |
344
+ | `QINTO_NO_UPDATE_CHECK` | Any non-empty value stops the daily new-version lookup. Machine mode already suppresses it, so a script needs this only to keep the CLI off the network. |
330
345
  | Exit codes | `0` success, `1` operational failure, `2` usage error, `130` aborted prompt (Ctrl-C). Errors go to stderr; with `--json` they are printed as `{"error": "…"}`. |
331
346
 
332
347
  ## Environments