KSFLATTEN(1)

πŸ’– NAME πŸ’–

okay so bestie, meet ksflatten β€” she flattens a kickstart file. that's it, that's the job. this one comes to you straight from the General Commands Manual, and she is so ready to inline your includes. πŸ¦‹


✨ SYNOPSIS ✨

ksflatten [-c | --config INFILE]  [-o | --output OUTFILE]  [-v |
--version VERSION]

no cap, that's the whole vibe check. three flags, zero drama. πŸ’…


🌸 DESCRIPTION 🌸

so here's the tea, bestie: ksflatten is a program that takes an input kickstart file β€” one that potentially contains includes β€” and generates an output file with all the includes inlined. 🫢

it's giving "un-nest my whole life please." one file in, one fully flattened file out, no includes left lurking. iconic behavior honestly. ✨


πŸ’€ EXIT STATUS πŸ’€

  • 0 β€” success, she ate, everything went perfect πŸŽ€
  • 1 β€” either INFILE does not exist, or there was an error parsing the kickstart file 😭
not me checking $? after every run... do it. it's free. πŸ’…

πŸ‘‘ OPTIONS πŸ‘‘

  • -c, --config INFILE β€” the name of the input kickstart file. this is the file you're feeding her, the main character of the operation. πŸ“
  • -o, --output OUTFILE β€” write the flattened kickstart file to OUTFILE. and if you give her no filename at all? she writes to stdout instead. queen of flexibility. 🌈
  • -v, --version VERSION β€” use this version of kickstart syntax when processing the file. don't specify one and she'll just use the latest. no thoughts, head empty, newest syntax. ⭐

πŸ¦‹ SEE ALSO πŸ¦‹

  • ksshell (1)
  • ksvalidator (1)
  • ksverdiff (1)

go hang out with her friends, they're all lovely. 🧚


πŸ’œ and that's the whole page, bestie! this was KSFLATTEN(1) from the General Commands Manual β€” go forth, flatten some kickstarts, and remember: all the includes, inlined, periodt. πŸŽ€βœ¨πŸ”₯
πŸ“¦ where this page comes from