diff --git a/z/project.go b/z/project.go new file mode 100644 index 0000000..2f59600 --- /dev/null +++ b/z/project.go @@ -0,0 +1,9 @@ +package z + +import ( +) + +type Project struct { + Name string `json:"name,omitempty"` + Color string `json:"color,omitempty"` +} diff --git a/z/projectCmd.go b/z/projectCmd.go index 13ad288..50eb936 100644 --- a/z/projectCmd.go +++ b/z/projectCmd.go @@ -10,11 +10,6 @@ import ( var projectColor string -type Project struct { - Name string `json:"name,omitempty"` - Color string `json:"color,omitempty"` -} - var projectCmd = &cobra.Command{ Use: "project ([flags]) [project]", Short: "Project settings", diff --git a/z/task.go b/z/task.go new file mode 100644 index 0000000..02cc9e7 --- /dev/null +++ b/z/task.go @@ -0,0 +1,9 @@ +package z + +import ( +) + +type Task struct { + Name string `json:"name,omitempty"` + GitRepository string `json:"gitRepository,omitempty"` +} diff --git a/z/taskCmd.go b/z/taskCmd.go index 728422f..a8cc5c3 100644 --- a/z/taskCmd.go +++ b/z/taskCmd.go @@ -10,11 +10,6 @@ import ( var taskGitRepository string -type Task struct { - Name string `json:"name,omitempty"` - GitRepository string `json:"gitRepository,omitempty"` -} - var taskCmd = &cobra.Command{ Use: "task ([flags]) [task]", Short: "Task settings",