Skip to content

Commit

Permalink
feat(args): add version (#20)
Browse files Browse the repository at this point in the history
This preps for v0.1.0.
  • Loading branch information
guangie88 authored Apr 18, 2020
1 parent bc78e39 commit 128ae04
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,17 @@ type args struct {
Owner string `arg:"positional,required"`
Repo string `arg:"positional,required"`
AccessToken string `arg:"--token" help:"GitHub access token for authorization"`
AllowOther bool `arg:"--allow-other" help:"Use FUSE allow_other mode (allow_root doesn't work, so not available)"`
AllowOther bool `arg:"--allow-other" help:"use FUSE allow_other mode (allow_root doesn't work, so not available)"`
}

func (args) Description() string {
return "GitHub Release Assets FUSE CLI"
}

func (args) Version() string {
return "ghafs 0.1.0"
}

func main() {
var args args
arg.MustParse(&args)
Expand Down

0 comments on commit 128ae04

Please sign in to comment.