More sanity stuff

main
Nick Dumas 2 years ago
parent 03f810acbd
commit 6be36326bb

@ -82,5 +82,6 @@ func init() {
// rootCmd.Flags().BoolP("toggle", "t", false, "Help message for toggle")
validateCmd.Flags().StringP("schema", "s", "base.schema", "path to protobuf file")
validateCmd.Flags().StringP("target", "t", "", "directory containing validation targets")
validateCmd.MarkFlagsRequiredTogether("schema", "target")
rootCmd.AddCommand(validateCmd)
}

Loading…
Cancel
Save