Skip to content

Simplify owox-ctl as an automation-first Control CLI#1266

Merged
max-voloshyn merged 4 commits into
mainfrom
owox-ctl-automation-simplification
Jun 1, 2026
Merged

Simplify owox-ctl as an automation-first Control CLI#1266
max-voloshyn merged 4 commits into
mainfrom
owox-ctl-automation-simplification

Conversation

@max-voloshyn

Copy link
Copy Markdown
Collaborator

Summary

Simplifies owox-ctl around script, CI, and AI agent automation workflows.

  • Keeps owox-ctl positioned as the OWOX Data Marts Control CLI
  • Removes interactive auth login/logout and local credential storage
  • Makes all command output JSON-only
  • Keeps environment-based configuration with .env and --env-file
  • Defaults owox-ctl to OWOX Data Marts Cloud at https://app.owox.com
  • Adds top-level owox-ctl status
  • Reports the resolved env file path as envFile, or null when none was used
  • Improves API client request construction and network error messages
  • Updates docs and the existing changeset for the simplified CLI surface

Supported commands:

  • owox-ctl status
  • owox-ctl data-marts list
  • owox-ctl storages list
  • owox-ctl destinations list

Breaking Changes

  • Removes auth login, auth logout, and auth status
  • Removes table output, color output, and output format flags
  • Removes dedicated owox-ctl JSON config storage
  • Requires credentials through environment variables or env files

Verification

  • npm run test -w @owox/ctl
  • npm run typecheck -w @owox/ctl
  • npm run lint -w @owox/ctl
  • npm run test -w @owox/api-client
  • npm run typecheck -w @owox/api-client
  • npm run lint -w @owox/api-client
  • npm run build -w @owox/ctl
  • ./apps/ctl/bin/run.js --help

Comment thread apps/ctl/src/commands/status.ts Outdated
@max-voloshyn max-voloshyn marked this pull request as ready for review June 1, 2026 19:45
Comment thread docs/superpowers/specs/2026-06-01-owox-ctl-automation-cli-design.md Outdated
@max-voloshyn max-voloshyn merged commit 982f6e1 into main Jun 1, 2026
14 of 16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant