1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80
|
.TH TEST "2" "2023\-04\-09" "example 0.1.0" "Test Manual"
.SH NAME
test \- templating system/generator for distributions
.SH SYNOPSIS
.B test
[-h] [--group-1-option PROJECTDIR] [--group-2-option DIST] [--top-option MULTISPEC] (--template TEMPLATE | --multispec-combinations) g2arg {subparserA} ...
.SH OPTIONS
.TP
\fB\-\-top\-option\fR \fI\,MULTISPEC\/\fR
Use MULTISPEC yaml file to fill the TEMPLATE file
.TP
\fB\-\-template\fR \fI\,TEMPLATE\/\fR
Use TEMPLATE file, e.g. docker.tpl or a template string, e.g. "{{
config.docker.from }}"
.TP
\fB\-\-multispec\-combinations\fR
Print available multispec combinations
.SH GROUP1 TITLE
description for group 1
.TP
\fB\-\-group\-1\-option\fR \fI\,PROJECTDIR\/\fR
Directory with project (defaults to CWD)
.TP
\fB\-\-group\-2\-option\fR \fI\,DIST\/\fR
Use distribution metadata specified by DIST yaml file
.TP
\fBg2arg\fR
Some longer multiline description should go here, and here and here. If you
want, even here.
.SH
SUBPARSERS
.TP
\fBtest\fR \fI\,subparserA\/\fR
a help
.SH COMMAND \fI\,'test subparserA'\/\fR
usage: test g2arg subparserA [\-h] [\-\-subgroup\-option SUBGROUP_OPTION]
[\-\-sub\-parser\-option SUB_PARSER_OPTION]
{sub\-subparserA} ...
.SH OPTIONS \fI\,'test subparserA'\/\fR
.TP
\fB\-\-sub\-parser\-option\fR \fI\,SUB_PARSER_OPTION\/\fR
.SH SUBGROUP \fI\,'test subparserA'\/\fR
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Mauris tincidunt sem sed arcu. Etiam dictum tincidunt diam. Duis sapien nunc, commodo et, interdum suscipit, sollicitudin et, dolor.
.TP
\fB\-\-subgroup\-option\fR \fI\,SUBGROUP_OPTION\/\fR
.SH
SUB-SUBPARSERS TITLE \fI\,'test subparserA'\/\fR
.TP
\fBtest subparserA\fR \fI\,sub\-subparserA\/\fR
a help
.SH COMMAND \fI\,'test subparserA sub\-subparserA'\/\fR
usage: test g2arg subparserA sub\-subparserA [\-h] [\-\-doh DOH]
.SH OPTIONS \fI\,'test subparserA sub\-subparserA'\/\fR
.TP
\fB\-\-doh\fR \fI\,DOH\/\fR
.SH AUTHOR
.nf
John Doe <jd@example.com>
.fi
.SH DISTRIBUTION
The latest version of example may be downloaded from
.UR http://example.com
.UE
|