feat: make ollama with no args launch integrations UI

This commit is contained in:
jmorganca
2026-02-07 15:49:41 -08:00
parent 099a0f18ef
commit 2f1930cfd6
3 changed files with 245 additions and 217 deletions

View File

@@ -1826,6 +1826,18 @@ func NewCLI() *cobra.Command {
return
}
// If no args, run launch to show interactive app selector
if len(args) == 0 {
if err := checkServerHeartbeat(cmd, args); err != nil {
cobra.CheckErr(err)
return
}
if err := config.RunLaunch(cmd, args, "", false); err != nil {
cobra.CheckErr(err)
}
return
}
cmd.Print(cmd.UsageString())
},
}