@@ -72,16 +72,15 @@ to quickly create a Cobra application.`,
7272 },
7373}
7474
75- // showTalkCmd represents the "talk show" command
75+ // showTalkCmd represents the "show talk " command
7676var showTalkCmd = & cobra.Command {
7777 Use : "talk" ,
7878 Short : "Show a talk from an event" ,
79- Long : `A longer description that spans multiple lines and likely contains examples
80- and usage of using your command. For example:
81-
82- Cobra is a CLI library for Go that empowers applications.
83- This application is a tool to generate the needed files
84- to quickly create a Cobra application.` ,
79+ Long : `Show a speaker from an event.
80+ ` ,
81+ Example : ` devopsdays-cli show talk
82+ devopsdays-cli show talk --city new-york --year 2017 --all
83+ devopsdays-cli show talk -c "New York" --year "2017"` ,
8584 Run : func (cmd * cobra.Command , args []string ) {
8685 // TODO: Work your own magic here
8786 showTalkPrompt (City , Year )
@@ -105,7 +104,7 @@ func init() {
105104 removeTalkCmd .Flags ().StringVarP (& Year , "year" , "y" , "" , "year to use" )
106105 showTalkCmd .Flags ().StringVarP (& City , "city" , "c" , "" , "city to use" )
107106 showTalkCmd .Flags ().StringVarP (& Year , "year" , "y" , "" , "year to use" )
108- showTalkCmd .Flags ().BoolVarP (& All , "all" , "a" , false , "show all" )
107+ showTalkCmd .Flags ().BoolVarP (& All , "all" , "a" , false , "show all NOT IMPLEMENTED " )
109108
110109}
111110
0 commit comments