mirror of
https://github.com/shtorm-7/sing-box-extended.git
synced 2026-06-22 10:34:12 +03:00
Add check/format command
This commit is contained in:
@@ -28,6 +28,8 @@ func main() {
|
||||
command.PersistentFlags().StringVarP(&workingDir, "directory", "D", "", "set working directory")
|
||||
command.PersistentFlags().BoolVarP(&disableColor, "disable-color", "", false, "disable color output")
|
||||
command.AddCommand(commandRun)
|
||||
command.AddCommand(commandCheck)
|
||||
command.AddCommand(commandFormat)
|
||||
if err := command.Execute(); err != nil {
|
||||
logrus.Fatal(err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user