mirror of
https://github.com/bestnite/sub2sing-box.git
synced 2025-06-18 11:03:18 +08:00
add: version cmd
add: dockerfile
This commit is contained in:
@ -1,8 +1,11 @@
|
||||
package cmd
|
||||
|
||||
import "github.com/spf13/cobra"
|
||||
import (
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
||||
var RootCmd = &cobra.Command{}
|
||||
|
||||
func init() {
|
||||
func SetVersion(version string) {
|
||||
RootCmd.Version = version
|
||||
}
|
||||
|
Reference in New Issue
Block a user