• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

dangernoodle-io / ouroboros / 24378424315
81%

Build:
DEFAULT BRANCH: main
Ran 14 Apr 2026 02:54AM UTC
Jobs 1
Files 19
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

14 Apr 2026 02:53AM UTC coverage: 68.218% (+2.7%) from 65.513%
24378424315

push

github

web-flow
feat: migrate CLI to cobra framework (#18)

- adopt workspace internal/cli/ convention (matches terranoodle, taipan-cli)
- main.go is now a thin wrapper that calls cli.Execute
- Version var moves from package main to internal/cli; .goreleaser.yml
  ldflag target updated accordingly
- extract app.Serve(version) from old app.Run; cobra rootCmd.RunE defaults
  to app.Serve so `ouroboros` with no args still starts the MCP stdio
  server (preserves `claude mcp add` deployments)
- query and items subcommands migrate from hand-rolled flag parsing to
  cobra, with pure runQuery/runItems helpers that take io.Writer + *sql.DB
  for direct testability
- replace log.Fatalf with returned errors so cobra can surface failures
- preserve items "project not found -> []" swallow behavior
- delete internal/app/cli.go and obsolete TestParseQueryArgs tests
- delete main_test.go (tested the removed package-main Version var)

User-visible: `ouroboros --version` default text changes from "dev" to
"(development build)" when Version is not injected via ldflags.

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>

0 of 3 new or added lines in 1 file covered. (0.0%)

4 existing lines in 2 files now uncovered.

1026 of 1504 relevant lines covered (68.22%)

0.78 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
0.0
0.0% main.go

Coverage Regressions

Lines Coverage ∆ File
3
0.0
0.0% app/app.go
1
0.0
0.0% main.go
Jobs
ID Job ID Ran Files Coverage
1 24378424315.1 14 Apr 2026 02:54AM UTC 19
68.22
GitHub Action Run
Source Files on build 24378424315
  • Tree
  • List 19
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24378424315
  • 2287d898 on github
  • Prev Build on main (#24372327533)
  • Next Build on main (#24379190637)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc