/* * SPDX-License-Identifier: AGPL-3.0-only * Copyright (c) 2022-2023, v2rayA Organization */ package main import ( "flag" "fmt" "github.com/v2rayA/dae/control" "os" ) func main() { var output string flag.StringVar(&output, "o", "", "Place the output into .") flag.Parse() if output == "" { fmt.Println("Please provide flag \"-o \"") os.Exit(1) } fmt.Printf("Generating %v\n", output) control.GenerateObjects(output) fmt.Printf("Generated %v\n", output) }