chore: removes sample code from today cmd
This commit is contained in:
parent
5ab62c85f1
commit
9ee6876e95
1 changed files with 0 additions and 3 deletions
|
|
@ -20,7 +20,6 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
"github.com/spf13/viper"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
// todayCmd represents the today command
|
// todayCmd represents the today command
|
||||||
|
|
@ -34,8 +33,6 @@ Cobra is a CLI library for Go that empowers applications.
|
||||||
This application is a tool to generate the needed files
|
This application is a tool to generate the needed files
|
||||||
to quickly create a Cobra application.`,
|
to quickly create a Cobra application.`,
|
||||||
Run: func(cmd *cobra.Command, args []string) {
|
Run: func(cmd *cobra.Command, args []string) {
|
||||||
dbPath := viper.GetString("path")
|
|
||||||
fmt.Println(dbPath)
|
|
||||||
fmt.Println("today called")
|
fmt.Println("today called")
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue