1
0
mirror of https://github.com/nitezs/sub2sing-box.git synced 2024-12-23 21:14:43 -05:00
sub2sing-box/main.go
2024-03-11 03:13:42 +08:00

24 lines
316 B
Go

package main
import (
"fmt"
"sub2sing-box/cmd"
"github.com/spf13/cobra"
)
var rootCmd = &cobra.Command{
Use: "process",
Run: cmd.Url,
}
func init() {
rootCmd.Flags().StringSliceP("url", "u", []string{}, "URLs to process")
}
func main() {
if err := rootCmd.Execute(); err != nil {
fmt.Println(err)
}
}