Skip to content

Commit

Permalink
feat(install): remove install cmd
Browse files Browse the repository at this point in the history
remove install cmd

Signed-off-by: mritd <[email protected]>
  • Loading branch information
mritd committed Mar 1, 2022
1 parent 38bd6d5 commit 5f7db55
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,6 @@ var extractCmd = &cobra.Command{
},
}

var installCmd = &cobra.Command{
Use: "install",
Short: "Install as service",
Run: func(cmd *cobra.Command, args []string) {
},
}

func init() {
cobra.EnableCommandSorting = false
cobra.OnInitialize(tpClashInit)
Expand All @@ -62,7 +55,7 @@ func init() {
rootCmd.PersistentFlags().StringVarP(&clashConfig, "config", "c", "/etc/clash.yaml", "clash config path")
rootCmd.PersistentFlags().StringVarP(&clashUI, "ui", "u", "yacd", "clash dashboard(official/yacd)")

rootCmd.AddCommand(runCmd, cleanCmd, extractCmd, installCmd)
rootCmd.AddCommand(runCmd, cleanCmd, extractCmd)
}

func main() {
Expand Down

0 comments on commit 5f7db55

Please sign in to comment.