add --man flag for generating manfile

This commit is contained in:
2025-04-29 15:19:16 +01:00
parent cb973c09f5
commit 0a2c622645
4 changed files with 17 additions and 0 deletions

View File

@@ -50,3 +50,8 @@ tasks:
desc: Clean the build artifacts
cmds:
- '{{.SHELL}} rm -r {{.BIN_DIR}}'
manfile:
desc: Generate manfile
cmds:
- go run . --man > manfile