diff --git a/z/root.go b/z/root.go index 952f399..f1c3916 100644 --- a/z/root.go +++ b/z/root.go @@ -6,7 +6,14 @@ import ( "os" ) -var developer string +var database *Database + +var begin string +var finish string +var project string +var task string + +var force bool var rootCmd = &cobra.Command{ Use: "zeit", diff --git a/z/track.go b/z/track.go index 1d3d1b2..53216db 100644 --- a/z/track.go +++ b/z/track.go @@ -1,19 +1,10 @@ package z import ( - "fmt" "log" "github.com/spf13/cobra" ) -var database *Database -var begin string -var finish string -var project string -var task string - -var force bool - var trackCmd = &cobra.Command{ Use: "track", Short: "Tracking time",