DPD2DOT(1)

πŸ’– DPD2DOT(1) πŸ’–

okay bestie, welcome to the General Commands Manual section, we're looking at dpd2dot and honestly? it's giving glow-up energy ✨


🌸 NAME 🌸

dpd2dot β€” reads a .dpd file and spits out a graph file in the .dot format πŸ¦‹

like. it takes your dpd. it makes it dot. that's the whole vibe. periodt.


✨ SYNOPSIS ✨

dpd2dot [options] input_file.dpd

you give it an input_file.dpd, you optionally throw some options at it, it does its thing πŸ’…


πŸŽ€ OPTIONS πŸŽ€

bestie there are literally ten of these and we're covering every single one, no skipping, no cap 🫢

  • -o β€” name of output file (default: name of input file .dot). so if you don't say anything, it just takes your input filename and slaps .dot on the end. iconic behaviour honestly.
  • -with-defs β€” show everything. this one is the default, so it's already the main character unless you say otherwise πŸ‘‘
  • -without-defs β€” show only Prop objects. just the Props. nothing else invited to the party πŸ™ˆ
  • -rm-trans β€” remove transitive dependencies. also a default, so this is the baseline vibe.
  • -keep-trans β€” keep transitive dependencies. the opposite of the default. if you want them kept, you gotta ask 🌈
  • -graphname β€” name of graph (default: name of input file). cute little label for your graph, defaults to whatever your input file was called.
  • -debug β€” set debug mode. turn it on when you need to see what's going on under the hood πŸ”₯
  • -v β€” print version and exit. quick lil version check and then it dips πŸ’¨
  • -help β€” Display this list of options. yes this exact list. hi, you're here πŸ’–
  • --help β€” Display this list of options. same energy, one extra dash. both of them work, we love options 😭
ngl, notice how both -help and --help do the literal exact same thing? not a typo, that's just how it is. love that for us.

πŸ’œ a lil sign-off πŸ’œ

this lil page came from the General Commands Manual and it's dated June 2022 🌸 so if you're reading this in the future, hi, hope the graph is slaying. go make some dots bestie, you got this πŸŽ€πŸ’…βœ¨