Merge pull request #254 from multica-ai/feat/homebrew-release

feat(release): add GoReleaser config and Homebrew tap support
This commit is contained in:
LinYushen 2026-03-25 17:39:07 +08:00 committed by GitHub
commit 04997b4011
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 99 additions and 6 deletions

View file

@ -59,7 +59,7 @@ func newAPIClient(cmd *cobra.Command) (*cli.APIClient, error) {
workspaceID := resolveWorkspaceID(cmd)
if serverURL == "" {
return nil, fmt.Errorf("server URL not set: use --server-url flag, MULTICA_SERVER_URL env, or 'multica-cli config set server_url <url>'")
return nil, fmt.Errorf("server URL not set: use --server-url flag, MULTICA_SERVER_URL env, or 'multica config set server_url <url>'")
}
return cli.NewAPIClient(serverURL, workspaceID), nil

View file

@ -10,6 +10,6 @@ var versionCmd = &cobra.Command{
Use: "version",
Short: "Print version information",
Run: func(_ *cobra.Command, _ []string) {
fmt.Printf("multica-cli %s (commit: %s)\n", version, commit)
fmt.Printf("multica %s (commit: %s)\n", version, commit)
},
}

View file

@ -12,9 +12,9 @@ var (
)
var rootCmd = &cobra.Command{
Use: "multica-cli",
Use: "multica",
Short: "Multica CLI — local agent runtime and management tool",
Long: "multica-cli manages local agent runtimes and provides control commands for the Multica platform.",
Long: "multica manages local agent runtimes and provides control commands for the Multica platform.",
SilenceUsage: true,
SilenceErrors: true,
}