Further cleanup / refactoring

This commit is contained in:
マリウス 2020-10-17 20:32:35 +01:00
parent b924131c81
commit 2f0218f567
No known key found for this signature in database
GPG key ID: C228EF0A530AF06F
4 changed files with 18 additions and 10 deletions

9
z/project.go Normal file
View file

@ -0,0 +1,9 @@
package z
import (
)
type Project struct {
Name string `json:"name,omitempty"`
Color string `json:"color,omitempty"`
}

View file

@ -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",

9
z/task.go Normal file
View file

@ -0,0 +1,9 @@
package z
import (
)
type Task struct {
Name string `json:"name,omitempty"`
GitRepository string `json:"gitRepository,omitempty"`
}

View file

@ -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",