1CDIST-NEW-TYPE(1)                    cdist                   CDIST-NEW-TYPE(1)
2
3
4

NAME

6       cdist-new-type - Create new type skeleton
7

SYNOPSIS

9          cdist-new-type TYPE-NAME AUTHOR-NAME AUTHOR-EMAIL [TYPE-BASE-PATH]
10

DESCRIPTION

12       cdist-new-type  is  a helper script that creates new type skeleton.  It
13       is then up to the type author to finish the type.
14
15       It creates skeletons for the following files:
16
17       · man.rst
18
19       · manifest
20
21       · gencode-remote.
22
23       Upon creation it prints the path to the newly created type directory.
24

ARGUMENTS

26       TYPE-NAME
27              Name of the new type.
28
29       AUTHOR-NAME
30              Type author's full name.
31
32       AUTHOR-NAME
33              Type author's email.
34
35       TYPE-BASE-PATH
36              Path to the base directory of the type. If not set  it  defaults
37              to '$PWD/type'.
38

EXAMPLES

40          # Create new type __foo in ~/.cdist directory.
41          $ cd ~/.cdist
42          $ cdist-new-type '__foo' 'Foo Bar' 'foo.bar at foobar.org'
43          /home/foo/.cdist/type/__foo
44

SEE ALSO

46       cdist(1)
47

AUTHORS

49       Steven Armstrong <steven-cdist--@--armstrong.cc>
50       Darko Poljak <darko.poljak--@--ungleich.ch>
51
52

COPYING

54       Copyright  (C)  2019  Steven  Armstrong, Darko Poljak. Free use of this
55       software is granted under the terms of the GNU General  Public  License
56       v3 or later (GPLv3+).
57
59       ungleich GmbH 2020
60
61
62
63
646.9.4                            Dec 21, 2020                CDIST-NEW-TYPE(1)
Impressum