Skip to content

Commit

Permalink
Added Short Version Of Commands
Browse files Browse the repository at this point in the history
  • Loading branch information
pegvin committed Mar 26, 2022
1 parent fb1d3e3 commit f8bbc36
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ var cli struct {
Remove commands.RemoveCmd `cmd:"" help:"Remove an application."`
Update commands.UpdateCmd `cmd:"" help:"Update an application."`
Search commands.SearchCmd `cmd:"" help:"Search for appliation from appimage list."`
Clean commands.CleanCmd `cmd:"" help:"Clean all the cache."`
Version VersionFlag `name:"version" help:"Print version information and quit"`
Debug bool `help:"Show extra information for debugging." default:"false"`
Clean commands.CleanCmd `cmd:"" help:"Clean all the cache & unused registry entries."`
Version VersionFlag `name:"version" short:"v" help:"Print version information and quit"`
Debug bool `short:"d" help:"Show extra information for debugging." default:"false"`
}

func (v VersionFlag) BeforeApply(app *kong.Kong, vars kong.Vars) error {
Expand Down

0 comments on commit f8bbc36

Please sign in to comment.