fix: rename binary to ssm

This commit is contained in:
2026-07-19 21:23:44 +08:00
parent fcaef77aea
commit fee5c34218
10 changed files with 56 additions and 56 deletions

View File

@ -1,4 +1,4 @@
// Package cli wires up the ss command-line interface, mirroring cli.py's
// Package cli wires up the ssm command-line interface, mirroring cli.py's
// argparse-based command tree with cobra.
package cli
@ -59,15 +59,15 @@ func newManagers(configFile, outputFile, subscriptionName string) (*managers, er
}, nil
}
// Version is the ss build version, injected at build time via
// Version is the ssm build version, injected at build time via
// -ldflags "-X gitea.epss.net.cn/klesh/ss/internal/cli.Version=vX.Y.Z"
// (see .drone.yml). Defaults to "dev" for local/unversioned builds.
var Version = "dev"
// Execute runs the ss CLI. It is the Go equivalent of cli.py's main().
// Execute runs the ssm CLI. It is the Go equivalent of cli.py's main().
func Execute() {
root := &cobra.Command{
Use: "ss",
Use: "ssm",
Short: "Scientific Surfing - CLI for managing clash RSS subscriptions",
Version: Version,
SilenceUsage: true,