Rename the binary and all references from multica-cli to multica for a cleaner command-line experience. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
15 lines
257 B
Go
15 lines
257 B
Go
package main
|
|
|
|
import (
|
|
"fmt"
|
|
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
var versionCmd = &cobra.Command{
|
|
Use: "version",
|
|
Short: "Print version information",
|
|
Run: func(_ *cobra.Command, _ []string) {
|
|
fmt.Printf("multica %s (commit: %s)\n", version, commit)
|
|
},
|
|
}
|