snoutdata 0.10.0 → 0.10.2
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 +4 -3
- package/dist/snoutdata.mjs +162 -138
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -46,6 +46,7 @@ This CLI is built to be driven by a program. The contract, which every command h
|
|
|
46
46
|
| `8` | Over a quota | The plan's limit. Do not retry. |
|
|
47
47
|
| `9` | Network | Retry. |
|
|
48
48
|
| `10` | Timed out | Retry, or raise `--timeout`. |
|
|
49
|
+
| `11` | This CLI is out of date | `snoutdata upgrade`, then retry. The message names the version required. |
|
|
49
50
|
| `127` | A tool this command needs is not installed | The message names it. The shell’s own convention, so a CI log reads right. |
|
|
50
51
|
|
|
51
52
|
### Credentials, without a browser
|
|
@@ -59,7 +60,7 @@ export SNOUTDATA_ACCESS_TOKEN=sdt_... # made once by a person: snoutdata token
|
|
|
59
60
|
CI and an agent
|
|
60
61
|
should use: a script's behaviour should not depend on who happens to be logged in on the machine
|
|
61
62
|
it runs on. Failing that, `~/.snoutdata/auth.json` (written by `snoutdata login`, mode 0600),
|
|
62
|
-
whose session
|
|
63
|
+
whose session renews itself as it is used.
|
|
63
64
|
|
|
64
65
|
The token is exchanged for a short-lived session by the control plane, so row-level security is
|
|
65
66
|
still the only thing deciding what it can see.
|
|
@@ -186,8 +187,8 @@ terminal that has no browser at all. With no person present (not a terminal, `--
|
|
|
186
187
|
|
|
187
188
|
## Documentation
|
|
188
189
|
|
|
189
|
-
- Everything an agent needs, on one page: <https://docs.snoutdata.com/
|
|
190
|
-
- Full CLI reference: <https://docs.snoutdata.com/
|
|
190
|
+
- Everything an agent needs, on one page: <https://docs.snoutdata.com/developers/agent>
|
|
191
|
+
- Full CLI reference: <https://docs.snoutdata.com/developers/cli>
|
|
191
192
|
- Getting started: <https://docs.snoutdata.com/cloud/getting-started>
|
|
192
193
|
- Plans and limits: <https://docs.snoutdata.com/cloud/limits>
|
|
193
194
|
|