.\" Man page generated from reStructuredText. . . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .TH "CDIST-NEW-TYPE" "1" "Sep 26, 2023" "7.0.0" "cdist" .SH NAME .sp cdist\-new\-type \- Create new type skeleton .SH SYNOPSIS .INDENT 0.0 .INDENT 3.5 .sp .EX cdist\-new\-type TYPE\-NAME AUTHOR\-NAME AUTHOR\-EMAIL [TYPE\-BASE\-PATH] .EE .UNINDENT .UNINDENT .SH DESCRIPTION .sp cdist\-new\-type is a helper script that creates new type skeleton. It is then up to the type author to finish the type. .sp It creates skeletons for the following files: .INDENT 0.0 .IP \(bu 2 man.rst .IP \(bu 2 manifest .IP \(bu 2 gencode\-remote. .UNINDENT .sp Upon creation it prints the path to the newly created type directory. .SH ARGUMENTS .INDENT 0.0 .TP \fBTYPE\-NAME\fP Name of the new type. .TP \fBAUTHOR\-NAME\fP Type author\(aqs full name. .TP \fBAUTHOR\-NAME\fP Type author\(aqs email. .TP \fBTYPE\-BASE\-PATH\fP Path to the base directory of the type. If not set it defaults to \(aq$PWD/type\(aq. .UNINDENT .SH EXAMPLES .INDENT 0.0 .INDENT 3.5 .sp .EX # Create new type __foo in ~/.cdist directory. $ cd ~/.cdist $ cdist\-new\-type \(aq__foo\(aq \(aqFoo Bar\(aq \(aqfoo.bar at foobar.org\(aq /home/foo/.cdist/type/__foo .EE .UNINDENT .UNINDENT .SH SEE ALSO .sp \fBcdist\fP(1) .SH AUTHORS .nf Steven Armstrong <\fI\%steven\-cdist\-\-@\-\-armstrong.cc\fP> Darko Poljak <\fI\%darko.poljak\-\-@\-\-ungleich.ch\fP> .fi .sp .SH COPYING .sp Copyright (C) 2019 Steven Armstrong, Darko Poljak. Free use of this software is granted under the terms of the GNU General Public License v3 or later (GPLv3+). .SH COPYRIGHT ungleich GmbH 2021 .\" Generated by docutils manpage writer. .