@otalan/cli 1.0.7 → 1.0.9

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/CHANGELOG.md CHANGED
@@ -2,6 +2,22 @@
2
2
 
3
3
  All notable changes to `@otalan/cli` will be documented in this file.
4
4
 
5
+ ## 1.0.9 - 2026-05-06
6
+
7
+ ### Added
8
+
9
+ - Add `otalan keygen --kind ci|ota` for offline Otalan key generation.
10
+
11
+ ### Changed
12
+
13
+ - Keep help output concise by limiting notes to the most important release workflow reminders.
14
+
15
+ ## 1.0.8 - 2026-05-06
16
+
17
+ ### Changed
18
+
19
+ - Print the resolved organization and project before release commands continue.
20
+
5
21
  ## 1.0.7 - 2026-05-06
6
22
 
7
23
  ### Changed
package/README.md CHANGED
@@ -9,7 +9,7 @@ Published as an npm package, but the CLI itself runs on Bun.
9
9
  ## Requirements
10
10
 
11
11
  - Bun `>= 1.3.11` installed and available on your `PATH`
12
- - An Otalan **CI key**
12
+ - An Otalan **CI key** for commands that talk to the Otalan API
13
13
 
14
14
  Do not use the OTA app key in the CLI.
15
15
 
@@ -179,6 +179,7 @@ Adjust the build step and bundle target for your app:
179
179
 
180
180
  - logs into the Otalan API
181
181
  - checks API connectivity and CI key context
182
+ - generates CI and OTA key material locally for dashboard import
182
183
  - links the current repo to an Otalan app
183
184
  - bundles Capacitor or Expo / React Native OTA output
184
185
  - publishes a bundle with rollout metadata
@@ -218,7 +219,7 @@ Example project config:
218
219
 
219
220
  ### `otalan help`
220
221
 
221
- Shows the available commands.
222
+ Shows the available commands and usage notes. Running `otalan` without arguments prints the same concise command list and notes.
222
223
 
223
224
  ### `otalan version`
224
225
 
@@ -230,6 +231,31 @@ otalan --version
230
231
  otalan -v
231
232
  ```
232
233
 
234
+ ### `otalan keygen`
235
+
236
+ Generates Otalan key material locally without calling the API. Use this for workflows where a team wants to create the key in its own terminal, CI setup, or secrets manager before importing it in the Otalan dashboard.
237
+
238
+ ```bash
239
+ otalan keygen --kind ci
240
+ otalan keygen --kind ota
241
+ ```
242
+
243
+ If `--kind` is omitted, the CLI prompts for `CI key (private)` or `OTA key (public)`.
244
+
245
+ Output includes both the full Otalan key and the base64url suffix without the `otalan_ci_` or `otalan_ota_` prefix:
246
+
247
+ ```text
248
+ Generated CI key.
249
+
250
+ Full key:
251
+ otalan_ci_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
252
+
253
+ Key without prefix:
254
+ xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
255
+ ```
256
+
257
+ `otalan keygen` only creates local key material. Importing or activating a key should still happen through an authenticated dashboard flow; an existing CI key should not be able to create more keys.
258
+
233
259
  ### `otalan login`
234
260
 
235
261
  Saves the CI key and API base URL locally.
@@ -465,4 +491,5 @@ bun pm pack --dry-run
465
491
  - Expo / React Native bundling uses `bunx expo ...`.
466
492
  - Default API URL is `https://api.otalan.com`.
467
493
  - Publishing, rollback, status, and `bundles` expect a CI key and an active app.
494
+ - Release commands print the organization and project resolved from the CI key before continuing.
468
495
  - Run `bun run build` after changing CLI source if you want `dist/bin.js` updated locally.