@drakulavich/oura-cli 0.3.4 → 0.4.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/CHANGELOG.md +33 -0
- package/dist/index.js +1691 -3028
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,37 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
+
## [0.4.1] - 2026-05-13
|
|
10
|
+
|
|
11
|
+
### Fixed
|
|
12
|
+
- Global flags (`--format`, `--token`, `--db`, `--tz`, `--no-color`) placed
|
|
13
|
+
BEFORE the subcommand name are now hoisted to AFTER it before citty parses
|
|
14
|
+
argv. Restores the v0.3.x flag-first form like
|
|
15
|
+
`oura-cli --format json sleep today`. Regression introduced by the citty
|
|
16
|
+
migration in v0.4.0.
|
|
17
|
+
|
|
18
|
+
## [0.4.0] - 2026-05-13
|
|
19
|
+
|
|
20
|
+
### Changed
|
|
21
|
+
- **Internal:** migrated CLI parsing from `commander` to `citty`. No CLI
|
|
22
|
+
surface changes — same commands, flags, outputs, exit codes, and error
|
|
23
|
+
envelope. Bundle size drops from ~153 KB to ~99 KB.
|
|
24
|
+
- Help text formatting differs slightly (citty's auto-generated help has
|
|
25
|
+
a slightly different layout than commander's). All commands, flags, and
|
|
26
|
+
positional args are described the same way.
|
|
27
|
+
|
|
28
|
+
### Removed
|
|
29
|
+
- `commander` dependency.
|
|
30
|
+
- `getGlobalOpts(command)` helper in `src/commands/helpers.ts` (no longer
|
|
31
|
+
needed — citty passes args directly to each `run` function).
|
|
32
|
+
|
|
33
|
+
### Added
|
|
34
|
+
- `citty` dependency (already used by the sibling `kesha-voice-kit` project).
|
|
35
|
+
- `src/commands/common.ts` — shared `commonArgs` spec, `handleError`, and
|
|
36
|
+
`applyNoColor` helpers spread into every leaf command.
|
|
37
|
+
- `src/commands/healthcheck.ts` and `src/commands/manifest.ts` — extracted
|
|
38
|
+
from the inline definitions in `src/index.ts` for symmetry.
|
|
39
|
+
|
|
9
40
|
## [0.3.4] - 2026-05-13
|
|
10
41
|
|
|
11
42
|
### Fixed
|
|
@@ -168,6 +199,8 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
|
168
199
|
- Local SQLite cache at `~/.oura-cli/oura.db`.
|
|
169
200
|
- Auth via `oura-cli login`, `OURA_TOKEN`, `OURA_TOKEN_PATH`, or `~/.oura-token`.
|
|
170
201
|
|
|
202
|
+
[0.4.1]: https://github.com/drakulavich/oura-cli/releases/tag/v0.4.1
|
|
203
|
+
[0.4.0]: https://github.com/drakulavich/oura-cli/releases/tag/v0.4.0
|
|
171
204
|
[0.3.4]: https://github.com/drakulavich/oura-cli/releases/tag/v0.3.4
|
|
172
205
|
[0.3.3]: https://github.com/drakulavich/oura-cli/releases/tag/v0.3.3
|
|
173
206
|
[0.3.2]: https://github.com/drakulavich/oura-cli/releases/tag/v0.3.2
|