GHERKIN-CPP(1)
π 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 saysFILE..., 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 emitAstevents. if you don't want the AST, she simply won't give you the AST. respecting boundaries fr fr. β¨--no-picklesβ do not emitPickleevents. no pickles for you, and that's a valid lifestyle choice. π--no-sourceβ do not emitSourceevents. she'll keep the source to herself. mysterious. iconic. π
just a heads up bestie: those three flags are all opt-outs. you're gettingAst,PickleandSourceevents 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
- fedora 43: gherkin-cpp-tools 35.1.0-6.fc43 Β· MIT
- fedora 44: gherkin-cpp-tools 39.1.0-3.fc44 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms