Skip to content

Commit

Permalink
feat: replace cli with cobra
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos Alexandro Becker <[email protected]>
  • Loading branch information
caarlos0 committed Jul 14, 2021
1 parent d69f972 commit 3ab8b53
Show file tree
Hide file tree
Showing 5 changed files with 353 additions and 80 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/gen.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: generate

on:
push:
branches:
- 'main'

jobs:
docs:
runs-on: ubuntu-latest
steps:
-
name: checkout
uses: actions/checkout@v2
-
name: setup go
uses: actions/setup-go@v2
with:
go-version: 1.16
-
name: docs
run: ./scripts/docs.sh
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: "docs: update cmd docs"
5 changes: 1 addition & 4 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,11 @@ module github.com/caarlos0/org-stats
require (
github.com/caarlos0/duration v0.0.0-20210713014422-2153d649c037
github.com/caarlos0/spin v1.1.0
github.com/cpuguy83/go-md2man/v2 v2.0.0 // indirect
github.com/golang/protobuf v1.5.2 // indirect
github.com/google/go-github/v37 v37.0.0
github.com/matryer/is v1.4.0
github.com/urfave/cli v1.22.5
github.com/spf13/cobra v1.2.1
golang.org/x/net v0.0.0-20210614182718-04defd469f4e // indirect
golang.org/x/oauth2 v0.0.0-20210628180205-a41e5a781914
google.golang.org/appengine v1.6.7 // indirect
)

go 1.16
Loading

0 comments on commit 3ab8b53

Please sign in to comment.