LEM/cmd/lemcmd
Snider 56eda1a081 refactor: migrate all 25 commands from passthrough to cobra framework
Replace passthrough() + stdlib flag.FlagSet anti-pattern with proper
cobra integration. Every Run* function now takes a typed *Opts struct
and returns error. Flags registered via cli.StringFlag/IntFlag/etc.
Commands participate in Core lifecycle with full cobra flag parsing.

- 6 command groups: gen, score, data, export, infra, mon
- 25 commands converted, 0 passthrough() calls remain
- Delete passthrough() helper from lem.go
- Update export_test.go to use ExportOpts struct

Co-Authored-By: Virgil <virgil@lethean.io>
2026-02-23 03:32:53 +00:00
..
data.go refactor: migrate all 25 commands from passthrough to cobra framework 2026-02-23 03:32:53 +00:00
export.go refactor: migrate all 25 commands from passthrough to cobra framework 2026-02-23 03:32:53 +00:00
gen.go refactor: migrate all 25 commands from passthrough to cobra framework 2026-02-23 03:32:53 +00:00
infra.go refactor: migrate all 25 commands from passthrough to cobra framework 2026-02-23 03:32:53 +00:00
lem.go refactor: migrate all 25 commands from passthrough to cobra framework 2026-02-23 03:32:53 +00:00
mon.go refactor: migrate all 25 commands from passthrough to cobra framework 2026-02-23 03:32:53 +00:00
score.go refactor: migrate all 25 commands from passthrough to cobra framework 2026-02-23 03:32:53 +00:00