mirror of
https://github.com/onyx-and-iris/xair-cli.git
synced 2026-04-09 02:13:35 +00:00
add man command to both CLIs
add man Taskfiles
This commit is contained in:
17
Taskfile.man-xair.yml
Normal file
17
Taskfile.man-xair.yml
Normal file
@@ -0,0 +1,17 @@
|
||||
version: '3'
|
||||
|
||||
tasks:
|
||||
default:
|
||||
desc: View man page
|
||||
cmds:
|
||||
- task: view
|
||||
|
||||
view:
|
||||
desc: View man page
|
||||
cmds:
|
||||
- go run ./cmd/{{.PROGRAM}} --man | man -l -
|
||||
|
||||
generate:
|
||||
desc: Generate man page
|
||||
cmds:
|
||||
- go run ./cmd/{{.PROGRAM}} --man > {{.PROGRAM}}.1
|
||||
Reference in New Issue
Block a user