This commit is contained in:
2024-03-11 03:13:42 +08:00
commit c75126e368
25 changed files with 1028 additions and 0 deletions

23
main.go Normal file
View File

@@ -0,0 +1,23 @@
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)
}
}