logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

cdist-new-type - Create new type skeleton

Arguments

TYPE-NAME
              Name of the new type.

       AUTHOR-NAME
              Type author's full name.

       AUTHOR-NAME
              Type author's email.

       TYPE-BASE-PATH
              Path to the base directory of the type. If not set it defaults to '$PWD/type'.

Authors

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

Copying

       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+).

Description

       cdist-new-type  is  a  helper script that creates new type skeleton.  It is then up to the type author to
       finish the type.

       It creates skeletons for the following files:

       • man.rst

       • manifest

       • gencode-remote.

       Upon creation it prints the path to the newly created type directory.

Examples

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

Name

       cdist-new-type - Create new type skeleton

See Also

cdist(1)

Synopsis

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

See Also