Initial commit

This commit is contained in:
Miguel de la Cruz 2020-02-28 23:34:24 +01:00
commit 54902edaf4
5 changed files with 42 additions and 0 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
campaigner

12
Makefile Normal file
View file

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

17
README.md Normal file
View file

@ -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`.

9
campaigner.go Normal file
View file

@ -0,0 +1,9 @@
package main
import (
"fmt"
)
func main() {
fmt.Println("Hello world")
}

3
go.mod Normal file
View file

@ -0,0 +1,3 @@
module git.ctrlz.es/mgdelacroix/campaigner
go 1.13