LEM/main.go
Snider bfa06c546a feat(cli): replace manual switch with cli.Main + WithCommands
main.go shrinks from 296 lines to 11. All commands register through
Core framework lifecycle via cli.WithCommands. Gets signal handling,
shell completion, grouped help, and TUI primitives.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-22 18:56:55 +00:00

12 lines
176 B
Go

package main
import (
"forge.lthn.ai/core/go/pkg/cli"
"forge.lthn.ai/lthn/lem/cmd/lemcmd"
)
func main() {
cli.Main(
cli.WithCommands("lem", lemcmd.AddLEMCommands),
)
}