Open wtrocki opened 3 years ago
Examples of 2 different formats
cmd.Flags().StringVarP(&opts.outputFile, "outputFile", "", "", "Filename of the output file")
cmd.Flags().StringVarP(&opts.outputFile, "output-file", "", "", "Filename of the output file")
can go into punctuation rule(not sure)
we can give option to choose from - camelcase, kebabcase, snakecase etc. for the whole CLI, they can choose whatever they prefer in the cli.
or regexp :)
For example format of the flag, the name should be camelcase, kebab case etc.