Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.
Go
refactor(release): rename multica-cli to multica
yushen3b3d2c48b902
diff --git a/.gitignore b/.gitignoreindex 1563801035..5930924850 100644--- a/.gitignore+++ b/.gitignore@@ -24,7 +24,6 @@ server/bin/server/tmp/server/migrateserver/daemon-server/multica-cliserver/multica# Test artifactsdiff --git a/.goreleaser.yml b/.goreleaser.ymlindex d53a22bc4b..abb885ec45 100644--- a/.goreleaser.yml+++ b/.goreleaser.yml@@ -1,16 +1,16 @@version: 2-project_name: multica-cli+project_name: multicabefore:hooks:- cd server && go mod tidybuilds:- - id: multica-cli+ - id: multicamain: ./cmd/multicadir: server- binary: multica-cli+ binary: multicaldflags:- -s -w- -X main.version={{.Version}}@@ -42,7 +42,7 @@ changelog:- "^chore:"brews:- - name: multica-cli+ - name: multicarepository:owner: multica-ainame: homebrew-tap@@ -53,6 +53,6 @@ brews:description: "Multica CLI — local agent runtime and management tool for the Multica platform"license: "MIT"install: |- bin.install "multica-cli"+ bin.install "multica"test: |- system "#{bin}/multica-cli", "version"+ system "#{bin}/multica", "version"diff --git a/Makefile b/Makefileindex 07d3213b6d..811c8637c7 100644--- a/Makefile+++ b/Makefile@@ -125,7 +125,7 @@ COMMIT ?= $(shell git rev-parse --short HEAD 2>/dev/null || echo unknown)build:cd server && go build -o bin/server ./cmd/server- cd server && go build -ldflags "-X main.version=$(VERSION) -X main.commit=$(COMMIT)" -o bin/multica-cli ./cmd/multica+ cd server && go build -ldflags "-X main.version=$(VERSION) -X main.commit=$(COMMIT)" -o bin/multica ./cmd/multicatest:$(REQUIRE_ENV)diff --git a/server/cmd/multica/cmd_agent.go b/server/cmd/multica/cmd_agent.goindex 670c8c11b9..64cf6b04f0 100644--- a/server/cmd/multica/cmd_agent.go+++ b/server/cmd/multica/cmd_agent.go@@ -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), nildiff --git a/server/cmd/multica/cmd_version.go b/server/cmd/multica/cmd_version.goindex 99c7fb7ab9..da557872ae 100644--- a/server/cmd/multica/cmd_version.go+++ b/server/cmd/multica/cmd_version.go@@ -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)},}diff --git a/server/cmd/multica/main.go b/server/cmd/multica/main.goindex 1b06c9e8a2..98aef2b5ea 100644--- a/server/cmd/multica/main.go+++ b/server/cmd/multica/main.go@@ -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,}