Refactor
Signed-off-by: Oliver Davies <oliver@oliverdavies.uk>
This commit is contained in:
parent
1f59dd60e5
commit
882e428053
2 changed files with 3 additions and 2 deletions
3
internal/cli/global.go
Normal file
3
internal/cli/global.go
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
package cli
|
||||||
|
|
||||||
|
var jsonOutput bool
|
|
@ -2,8 +2,6 @@ package cli
|
||||||
|
|
||||||
import "github.com/spf13/cobra"
|
import "github.com/spf13/cobra"
|
||||||
|
|
||||||
var jsonOutput bool
|
|
||||||
|
|
||||||
var rootCmd = &cobra.Command{
|
var rootCmd = &cobra.Command{
|
||||||
Use: "zet",
|
Use: "zet",
|
||||||
Short: "Zettelkasten note manager",
|
Short: "Zettelkasten note manager",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue