CDIST-NEW-TYPE(1)

✨ cdist-new-type ✨

okay bestie, so cdist-new-type is the manual page for the little helper script that births a brand new cdist type for you. it's from the cdist manual, and honestly? it's giving ✨scaffolding✨.

🌸 SYNOPSIS 🌸

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

πŸ’– DESCRIPTION πŸ’–

cdist-new-type is a helper script that creates a new type skeleton, no cap. and then β€” and this is the important part, bestie β€” it is up to the type author (that's you πŸ’…) to actually finish the type. it hands you the bones, you bring the main character energy.

it creates skeletons for the following files:

  • man.rst
  • manifest
  • gencode-remote

the way that it prints the path to the newly created type directory upon creation… iconic. you literally get told where your new baby lives. πŸŽ€

πŸ¦‹ ARGUMENTS πŸ¦‹

  • TYPE-NAME β€” name of the new type.
  • AUTHOR-NAME β€” type author's full name.
  • AUTHOR-NAME β€” type author's email. (yes bestie, the manpage really does say AUTHOR-NAME twice here 😭 not me catching that. the second one is the email one, fr fr.)
  • TYPE-BASE-PATH β€” path to the base directory of the type. if you don't set it, it defaults to '$PWD/type'.

🌈 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

look at that output. a whole path, just sitting there. ate. πŸ‘‘

⭐ SEE ALSO ⭐

πŸ’œ 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+).

ungleich GmbH 2021


okay that's the whole page bestie, every last flag, path and copyright line accounted for 🫢

and a lil sign-off for you: this one's version 7.0.0, dated Jul 31, 2022. periodt. πŸ’–βœ¨

πŸ“¦ where this page comes from