2026-02-16 00:24:00 +00:00
|
|
|
package main
|
|
|
|
|
|
|
|
|
|
import (
|
2026-02-21 22:08:01 +00:00
|
|
|
"forge.lthn.ai/core/cli/cmd/config"
|
|
|
|
|
"forge.lthn.ai/core/cli/cmd/doctor"
|
|
|
|
|
"forge.lthn.ai/core/cli/cmd/help"
|
|
|
|
|
"forge.lthn.ai/core/cli/cmd/module"
|
|
|
|
|
"forge.lthn.ai/core/cli/cmd/pkgcmd"
|
|
|
|
|
"forge.lthn.ai/core/cli/cmd/plugin"
|
|
|
|
|
"forge.lthn.ai/core/cli/cmd/session"
|
2026-02-22 20:42:00 +00:00
|
|
|
"forge.lthn.ai/core/cli/pkg/cli"
|
2026-02-16 00:24:00 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
func main() {
|
2026-02-21 22:08:01 +00:00
|
|
|
cli.Main(
|
|
|
|
|
cli.WithCommands("config", config.AddConfigCommands),
|
|
|
|
|
cli.WithCommands("doctor", doctor.AddDoctorCommands),
|
|
|
|
|
cli.WithCommands("help", help.AddHelpCommands),
|
|
|
|
|
cli.WithCommands("module", module.AddModuleCommands),
|
|
|
|
|
cli.WithCommands("pkg", pkgcmd.AddPkgCommands),
|
|
|
|
|
cli.WithCommands("plugin", plugin.AddPluginCommands),
|
|
|
|
|
cli.WithCommands("session", session.AddSessionCommands),
|
|
|
|
|
)
|
2026-02-16 00:24:00 +00:00
|
|
|
}
|