aboutsummaryrefslogtreecommitdiff
path: root/contrib/cpt-new
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2021-03-12 13:58:36 +0000
committermerakor <cem@ckyln.com>2021-03-12 13:58:36 +0000
commitfc8de2a8f48485ad8b035a4e76098c4a7dbadb05 (patch)
tree8334227f749afc03c992f7d17edbf72cb5bd6ba8 /contrib/cpt-new
parentf7d3e9f6771a75bff790c569a149f0fee1d28f41 (diff)
downloadcpt-fc8de2a8f48485ad8b035a4e76098c4a7dbadb05.tar.gz
docs: update
FossilOrigin-Name: 143ea57c3d8309faf15399199d0e2930f07371a34c08ff16e9a9f5fbb0be6a23
Diffstat (limited to 'contrib/cpt-new')
-rwxr-xr-xcontrib/cpt-new12
1 files changed, 12 insertions, 0 deletions
diff --git a/contrib/cpt-new b/contrib/cpt-new
index b5eac9c..a78fb46 100755
--- a/contrib/cpt-new
+++ b/contrib/cpt-new
@@ -1,6 +1,18 @@
#!/bin/sh -e
# Create a boilerplate CPT package
+## SYNOPSIS:
+## .Nm
+## .Op Ar package-name
+## .Op Ar version
+## .Op Ar source
+## DESCRIPTION:
+## .Nm
+## creates an empty CPT package with the given arguments.
+## .Ar package-name
+## is the only mandatory argument.
+## see: cpt-checksum.1
+
out() { printf '%s\n' "$@" ;}
die() { printf '\033[1;31m!> \033[m%s\n' "$@" >&2 ; exit 1 ;}