Skip to content

Commit

Permalink
Add 0.0.2 version
Browse files Browse the repository at this point in the history
  • Loading branch information
umutphp committed May 23, 2020
1 parent 5e2db32 commit 52cc7ba
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,22 @@ For details please use `--help` as argument;

```bash
$ go run main.go --help

NAME:
github-stats - Get the total visit stats of your GitHub repositories
USAGE:
github-stats [global options]
VERSION:
0.0.2
AUTHOR:
Umut Işık <[email protected]>
OPTIONS:
--day value, -d value The number of days from today to show the stats (default: 0)
--verbose value, -v value Show verbose output or not. 1 for verbose. Default is 0 (default: 0)
--token value, -t value Personal access token got from GitHub to use the API
--day value, -d value The number of days from today to show the stats (default: 0)
--show-details value, -s value Show detailed output or not. 0 to close. Default is 1 (default: 1)
--token value, -t value Personal access token got from GitHub to use the API
--help, -h show help (default: false)
--version, -v print the version (default: false)

```

## How To Contribute
Expand Down
7 changes: 4 additions & 3 deletions lib/app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import (
func New() *ucli.App {
app := &ucli.App{
Name: "github-stats",
Version: "0.0.2",
Usage: "Get the total visit stats of your GitHub repositories",
UsageText: "github-stats [global options]",
Authors: []*ucli.Author{
Expand All @@ -20,9 +21,9 @@ func New() *ucli.App {
Value: 0,
},
&ucli.IntFlag{
Name: "verbose",
Aliases: []string{"v"},
Usage: "Show verbose output or not. 1 for verbose. Default is 0",
Name: "show-details",
Aliases: []string{"s"},
Usage: "Show detailed output or not. 0 to close. Default is 1",
Value: 1,
},
&ucli.StringFlag{
Expand Down

0 comments on commit 52cc7ba

Please sign in to comment.