add man command to both CLIs

add man Taskfiles
This commit is contained in:
2026-03-20 19:20:29 +00:00
parent 3f6e8c4209
commit 1b9cc1f66a
10 changed files with 64 additions and 3 deletions

17
Taskfile.man-xair.yml Normal file
View 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