From 3d46b9546e1ccf131ce4dbcbfc12f6e37fa301ea Mon Sep 17 00:00:00 2001 From: ewy Date: Mon, 1 Jun 2026 19:37:34 +0200 Subject: default to manpage view for help --- man/templates/pik.1.man.tmpl | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100644 man/templates/pik.1.man.tmpl (limited to 'man/templates') diff --git a/man/templates/pik.1.man.tmpl b/man/templates/pik.1.man.tmpl deleted file mode 100644 index 53f1cfd..0000000 --- a/man/templates/pik.1.man.tmpl +++ /dev/null @@ -1,31 +0,0 @@ -{{- /*gotype: github.com/ewy1/pik/man.ManData*/ -}} -.TH PIK 1 {{.Version}} {{.Runtime}} -.sh NAME -pik \- file based task runner -.SH SYNOPSIS -.B pik -[\fIOPTION\fR]... [[\fISOURCE\fR] [\fITARGET\fR]] [\fIARG\fR]... -.SH DESCRIPTION -.B pik -executes scripts from the .pik folder or external runners. -.SH EXAMPLES -Given a .pik folder in your current working directory containing "script.sh", calling -.B pik script -will start that script. -.PP To start a script from another location, pass that as the SOURCE before the TARGET. -Example: -.B pik project build -will start ../../.pik/build.py if it exists. -.SH OPTIONS -{{ range .Flags -}} -.TP -.BR \-\-{{.Name }} {{ if .Shorthand }}, \-{{ .Shorthand }}{{ end }} = {{ .Value.Type }} {{ if .DefValue }} ({{.DefValue}}) {{- end }} -{{ .Usage }} -{{ end }} -.SH EXIT CODES -If the target runs and returns a non-zero error code, we pass that forward instead. -{{ range .ExitCodes -}} -.TP -.BR {{ .Value }} -{{ .Message }} -{{ end }} \ No newline at end of file -- cgit v1.3.1