CDIST-DUMP(1)

πŸ’– CDIST-DUMP πŸ’–

okay so this is the manual page for cdist-dump, and it lives in section 1 of the cdist manual. bestie, we're about to go through the whole thing together, no skips, no shortcuts ✨


🌸 NAME 🌸

cdist-dump β€” dump data from local cdist cache 🫢


✨ SYNOPSIS ✨

cdist-dump [options] [host...]

πŸ¦‹ DESCRIPTION πŸ¦‹

so cdist-dump is literally a helper script that dumps data from the local cdist cache for whatever hosts you name. and if you don't name a host at all? it just dumps all the data from the cache directory. slay. the default cache directory is ~/.cdist/cache, iconic behavior tbh.

what's it for though?? so glad you asked πŸ’… β€” you can use cdist-dump for debugging existing types, debugging host configuration, and debugging new types. it's giving detective energy πŸ”


πŸ’… OPTIONS πŸ’…

  • -a β€” dump all. the everything bagel ✨
  • -C CACHE-DIR β€” use the specified CACHE-DIR instead of the default (default: ~/.cdist/cache)
  • -c β€” dump code-*
  • -d DELIMITER β€” the delimiter used for the filename and line number prefix (default: ':')
  • -E β€” dump global explorers 🌈
  • -e β€” dump type explorers
  • -F β€” disable the filename prefix (it's enabled by default)
  • -f β€” enable the filename prefix (this is the default, so yes it's already on, but here we are)
  • -g β€” dump gencode-*
  • -h β€” show this help screen and exit
  • -L β€” disable the line number prefix (this is the default, so it's already off)
  • -l β€” enable the line number prefix (disabled by default)
  • -m β€” dump messages
  • -o β€” dump executions' stdout
  • -p β€” dump parameters
  • -r β€” dump executions' stderr
  • -V β€” show version and exit
  • -v β€” increase verbosity
not me noticing how many of these flags are just opposites of each other 😭 -F/-f and -L/-l are literally a whole vibe check between "on" and "off". pick your fighter.

πŸŽ€ EXAMPLES πŸŽ€

# Dump all
% cdist-dump -a
# Dump only code-* output
% cdist-dump -c

πŸ”₯ SEE ALSO πŸ”₯

cdist(1) β€” go read it, it's the main character πŸ‘‘


πŸ’œ AUTHORS πŸ’œ

Darko Poljak <darko.poljak--@--ungleich.ch>


🌟 COPYING 🌟

Copyright (C) 2019 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 bestie that's the whole page, every last flag accounted for, no cap 🧚 and for the cute sign-off: this is cdist version 7.0.0, dated Jul 31, 2022. mwah πŸ’– go dump some cache, you got this πŸ“

πŸ“¦ where this page comes from