@tinycloud/cli 0.4.8-beta.8 → 0.5.0-beta.11
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 -0
- package/dist/index.js +1008 -106
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -107,11 +107,31 @@ tc profile list
|
|
|
107
107
|
tc kv list --profile staging
|
|
108
108
|
```
|
|
109
109
|
|
|
110
|
+
### Pointing a profile at a self-hosted OpenKey
|
|
111
|
+
|
|
112
|
+
OpenKey-backed profiles default to `https://openkey.so`. To use a self-hosted
|
|
113
|
+
or local OpenKey (for testing accounts, CI, or a portless dev loop), edit the
|
|
114
|
+
profile JSON directly:
|
|
115
|
+
|
|
116
|
+
```bash
|
|
117
|
+
# ~/.tinycloud/profiles/<profile>/profile.json
|
|
118
|
+
{
|
|
119
|
+
"name": "staging",
|
|
120
|
+
...
|
|
121
|
+
"openkeyHost": "https://openkey.localhost"
|
|
122
|
+
}
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
`tc auth login --method openkey` and `tc auth request` honor this for the
|
|
126
|
+
profile. Set `TC_OPENKEY_HOST` to override per invocation without editing the
|
|
127
|
+
file.
|
|
128
|
+
|
|
110
129
|
## Environment
|
|
111
130
|
|
|
112
131
|
| Variable | Description |
|
|
113
132
|
|----------|-------------|
|
|
114
133
|
| `TC_HIDE_BANNER` | Set to `1` to suppress the startup banner |
|
|
134
|
+
| `TC_OPENKEY_HOST` | Override the active profile's OpenKey base URL for this invocation. |
|
|
115
135
|
|
|
116
136
|
## Development
|
|
117
137
|
|