Skip to content

feat(cli): TTY-aware loading state for network ops#7

Merged
ivanmaierg merged 5 commits into
mainfrom
feat/cli-loading-state
May 11, 2026
Merged

feat(cli): TTY-aware loading state for network ops#7
ivanmaierg merged 5 commits into
mainfrom
feat/cli-loading-state

Conversation

@ivanmaierg

Copy link
Copy Markdown
Owner

Summary

  • Adds withLoading helper that renders a TTY-aware spinner during network calls and stays silent in non-interactive shells (CI, pipes, NO_COLOR).
  • Wraps getPassage in both run and vod commands so the CLI gives feedback while Bible fetches are in flight.
  • Includes SDD trail under openspec/changes/cli-loading-state/ (explore, proposal, spec, design, tasks, verify-report).

Test plan

  • bun test — 99 pass / 0 fail
  • withLoading unit tests cover TTY on/off, NO_COLOR, success and failure paths
  • vod smoke test extended to assert loading output is suppressed when NO_COLOR is set

@ivanmaierg ivanmaierg merged commit 57fc399 into main May 11, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant