Refactor
Signed-off-by: Oliver Davies <oliver@oliverdavies.uk>
This commit is contained in:
parent
665ef94ca9
commit
a3202aaff3
17 changed files with 63 additions and 56 deletions
17
internal/cli/root.go
Normal file
17
internal/cli/root.go
Normal file
|
@ -0,0 +1,17 @@
|
|||
package cli
|
||||
|
||||
import (
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
||||
var jsonOutput bool
|
||||
|
||||
var rootCmd = &cobra.Command{
|
||||
Use: "zet",
|
||||
Short: "Zettlekasten note manager",
|
||||
Long: `Zettlekasten note manager`,
|
||||
}
|
||||
|
||||
func Execute() error {
|
||||
return rootCmd.Execute()
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue