Created
May 10, 2019 13:06
-
-
Save kyriediculous/7635a8386c5b50ee14105f3a271057e8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func init() { | |
readCmd.Flags().StringP("id", "i", "", "The id of the blog") | |
readCmd.MarkFlagRequired("id") | |
rootCmd.AddCommand(readCmd) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment