commit 54902edaf4f865b401ac5135b30bb3a0272bd937 Author: Miguel de la Cruz Date: Fri Feb 28 23:34:24 2020 +0100 Initial commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..601d262 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +campaigner \ No newline at end of file diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..44d8eff --- /dev/null +++ b/Makefile @@ -0,0 +1,12 @@ +vendor: + go mod vendor + go mod tidy + +check: + golangci-lint run -E gofmt ./... + +build: + go build -mod=vendor + +install: + go install -mod=vendor diff --git a/README.md b/README.md new file mode 100644 index 0000000..7f4be9b --- /dev/null +++ b/README.md @@ -0,0 +1,17 @@ +# Campaigner + +Command line tool to create and manage community campaigns. + +## Application flow + +1. Run `campaigner set-token` to set the tokens for `jira/github`. +2. Run `campaigner create` to create a new community campaign. +3. Run `campaigner add` to add new tickets based either on a `grep/ag` + command or a `govet` check. +4. Run `campaigner state` to see the status of each one of the + tickets. The tickets can be in an `unpublished`, `jira`, `github` + and `completed` state. +5. Run `campaigner template` to edit the ticket template. +6. Run `campaigner publish` to create the tickets in `jira` based on + the template. +7. Possible next step to publish the tickets from `jira` to `github`. diff --git a/campaigner.go b/campaigner.go new file mode 100644 index 0000000..24dcac8 --- /dev/null +++ b/campaigner.go @@ -0,0 +1,9 @@ +package main + +import ( + "fmt" +) + +func main() { + fmt.Println("Hello world") +} diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..5202c6a --- /dev/null +++ b/go.mod @@ -0,0 +1,3 @@ +module git.ctrlz.es/mgdelacroix/campaigner + +go 1.13