mirror of
https://github.com/onyx-and-iris/xair-cli.git
synced 2026-04-08 18:03:37 +00:00
add man command to both CLIs
add man Taskfiles
This commit is contained in:
@@ -9,6 +9,7 @@ import (
|
||||
"time"
|
||||
|
||||
"github.com/alecthomas/kong"
|
||||
mangokong "github.com/alecthomas/mango-kong"
|
||||
"github.com/charmbracelet/log"
|
||||
kongcompletion "github.com/jotaen/kong-completion"
|
||||
|
||||
@@ -50,7 +51,8 @@ type Config struct {
|
||||
type CLI struct {
|
||||
Config `embed:"" prefix:"" help:"The configuration for the CLI."`
|
||||
|
||||
Version VersionFlag `help:"Print x32-cli version information and quit" name:"version" short:"v"`
|
||||
Man mangokong.ManFlag `help:"Print man page."`
|
||||
Version VersionFlag `help:"Print x32-cli version information and quit" name:"version" short:"v"`
|
||||
|
||||
Completion kongcompletion.Completion `help:"Generate shell completion scripts." cmd:""`
|
||||
Info InfoCmd `help:"Print mixer information." cmd:""`
|
||||
|
||||
@@ -9,6 +9,7 @@ import (
|
||||
"time"
|
||||
|
||||
"github.com/alecthomas/kong"
|
||||
mangokong "github.com/alecthomas/mango-kong"
|
||||
"github.com/charmbracelet/log"
|
||||
kongcompletion "github.com/jotaen/kong-completion"
|
||||
|
||||
@@ -50,7 +51,8 @@ type Config struct {
|
||||
type CLI struct {
|
||||
Config `embed:"" prefix:"" help:"The configuration for the CLI."`
|
||||
|
||||
Version VersionFlag `help:"Print xair-cli version information and quit" name:"version" short:"v"`
|
||||
Man mangokong.ManFlag `help:"Print man page."`
|
||||
Version VersionFlag `help:"Print xair-cli version information and quit" name:"version" short:"v"`
|
||||
|
||||
Completion kongcompletion.Completion `help:"Generate shell completion scripts." cmd:""`
|
||||
Info InfoCmd `help:"Print mixer information." cmd:""`
|
||||
|
||||
Reference in New Issue
Block a user