Merge pull request #254 from multica-ai/feat/homebrew-release
feat(release): add GoReleaser config and Homebrew tap support
This commit is contained in:
commit
04997b4011
7 changed files with 99 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
},
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue