Skip to content

onctl with no subcommand opens the tui - #1263

Merged
cdalar merged 1 commit into
mainfrom
bare-onctl-opens-tui
Oct 27, 2026
Merged

cdalar merged 1 commit into
mainfrom
bare-onctl-opens-tui

Conversation

@cdalar

@cdalar cdalar commented Oct 27, 2026

Copy link
Copy Markdown
Owner

Bare onctl now opens the tui instead of printing help. Off a terminal (pipe/script) it still prints help; onctl --help always does. Unknown commands (onctl foo) still error.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Ba6Vc7NCYdwwTw4PfisX8r

Bare onctl runs the tui, as onctl tui does (provider asked, or from
-p/ONCTL_CLOUD). Off a terminal it still prints the help, so pipes and
scripts keep working; onctl --help always shows it.
@codecov

codecov Bot commented Oct 27, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 50.00000% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 48.00%. Comparing base (7b7124e) to head (887aa42).
⚠️ Report is 10 commits behind head on main.

Files with missing lines Patch % Lines
cmd/tui.go 50.00% 3 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1263   +/-   ##
=======================================
  Coverage   48.00%   48.00%           
=======================================
  Files          81       81           
  Lines        9425     9431    +6     
=======================================
+ Hits         4524     4527    +3     
- Misses       4901     4904    +3     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@cdalar
cdalar merged commit b77350a into main Oct 27, 2026
13 checks 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

⌂ 换网址