@runtypelabs/cli 2.47.9 → 2.48.1
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 +20 -7
- package/dist/index.js +1814 -1061
- package/package.json +8 -7
package/README.md
CHANGED
|
@@ -610,13 +610,26 @@ Top-level alias for `runtype auth login`.
|
|
|
610
610
|
|
|
611
611
|
Manage authentication.
|
|
612
612
|
|
|
613
|
-
| Subcommand
|
|
614
|
-
|
|
|
615
|
-
| `auth signup`
|
|
616
|
-
| `auth login`
|
|
617
|
-
| `auth status`
|
|
618
|
-
| `auth
|
|
619
|
-
| `auth
|
|
613
|
+
| Subcommand | Description |
|
|
614
|
+
| ------------------- | ---------------------------------------------------------------- |
|
|
615
|
+
| `auth signup` | Create a new account (alias for `auth login`) |
|
|
616
|
+
| `auth login` | Add a login via browser or `--api-key <key>` (one login per org) |
|
|
617
|
+
| `auth status` | Show which login this directory uses, and why |
|
|
618
|
+
| `auth accounts` | List stored logins |
|
|
619
|
+
| `auth switch [org]` | Set the default login for directories without a project link |
|
|
620
|
+
| `auth whoami` | Display current user info with billing details |
|
|
621
|
+
| `auth export-key` | Print the active login's API key |
|
|
622
|
+
| `auth logout [org]` | Remove this directory's login, a named org's login, or `--all` |
|
|
623
|
+
|
|
624
|
+
Logins are selected by `--org` > `RUNTYPE_ORG` > the nearest `.runtype/project.json` > the
|
|
625
|
+
default login. API keys are stored in the OS keychain, with an encrypted-file fallback in
|
|
626
|
+
`~/.runtype` (`RUNTYPE_CREDENTIAL_STORE=keychain|file` pins one).
|
|
627
|
+
|
|
628
|
+
### `runtype link` / `runtype unlink`
|
|
629
|
+
|
|
630
|
+
`runtype link [orgId]` writes `.runtype/project.json` (`{ "orgId": "org_..." }`, plus `apiUrl` for
|
|
631
|
+
non-production APIs) so every command under that directory uses that organization's login. The
|
|
632
|
+
file holds no secrets; commit it. `runtype unlink` removes the nearest one.
|
|
620
633
|
|
|
621
634
|
### `runtype flows`
|
|
622
635
|
|