GHERKIN-CPP(1)

πŸ“¦ version 39.1.0, in fedora 43, fedora 44

πŸ’– GHERKIN-CPP πŸ’–

okay so bestie, let me put you onto gherkin-cpp β€” it's the C++ implementation of a Gherkin file parser, and it lives in section 1 of the manual (User Commands, iykyk). she's giving tool, she's giving parser, she's literally the moment. πŸ¦‹


✨ SYNOPSIS ✨

gherkin-cpp [options] FILE...

that's it. that's the whole vibe. options, then a bunch of files. periodt. πŸ’…


🌸 DESCRIPTION 🌸

so what does she actually do? she parses the files you hand her and then outputs the result of parsing the given files, in JSON format. no cap. you give her Gherkin, she gives you JSON. that's the trade. 🀝


πŸŽ€ OPTIONS πŸŽ€

πŸ“ POSITIONAL ARGUMENTS

  • FILE β€” a Gherkin file, bestie. that's the thing you want parsed. yes, you can pass more than one (the synopsis says FILE..., the ... is doing heavy lifting and she ate). 🌈

πŸŽ›οΈ OPTIONAL ARGUMENTS

  • -h, --help β€” prints a help message and then exits. your little "what does this do again" safety net. 🫢
  • --no-ast β€” do not emit Ast events. if you don't want the AST, she simply won't give you the AST. respecting boundaries fr fr. ✨
  • --no-pickles β€” do not emit Pickle events. no pickles for you, and that's a valid lifestyle choice. πŸ™ˆ
  • --no-source β€” do not emit Source events. she'll keep the source to herself. mysterious. iconic. πŸ’œ

just a heads up bestie: those three flags are all opt-outs. you're getting Ast, Pickle and Source events by default, so only reach for --no-* if you're specifically trying to silence one of them. πŸ‘‘

🌟 SEE YOU LATER, BESTIE 🌟

that's the whole page, and it's from the April 2026 release of the manual, so you know it's fresh. go parse something cute. mwah. πŸ’–πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from