fix: rename binary to ssm
This commit is contained in:
@ -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,
|
||||
|
||||
Reference in New Issue
Block a user