CYPHER-LINT(1)

πŸ“¦
version 0.6.2 Β· 2 versions
  • 0.6.2 Β· alpine 3.24, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking (latest)
  • 0.6.0 Β· ubuntu jammy
, in alpine 3.24, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ CYPHER-LINT(1) ✨

okay bestie, welcome to the General Commands Manual page for cypher-lint πŸ’… pull up a chair, we're gonna read this whole thing together, no skimming, no cap.


πŸŽ€ NAME πŸŽ€

cypher-lint β€” it's a linting tool for Cypher. that's it, that's the whole name section. iconic, honestly.


🌸 SYNOPSIS 🌸

cypher-lint [options] [file ...]

πŸ¦‹ DESCRIPTION πŸ¦‹

so cypher-lint is a linting tool for Cypher, fr fr. here's the vibe: it reads from input files, reports any errors it finds, and optionally outputs the parsed AST if you ask nicely.

and if file is a single dash (-) or just… absent entirely? then cypher-lint reads from standard input instead. lowkey the most flexible bestie in the friend group. 🫢


πŸ’– OPTIONS πŸ’–

  • -1 β€” only parse the first statement or client command, then dip. exit stage left. periodt.
  • -a, --ast β€” output an AST representation for the parsed input. show me the tree, queen πŸ‘‘
  • --colorize β€” turn on colorization of output and errors using ANSI escape sequences. it's giving rainbow 🌈
  • --no-colorize β€” turn OFF colorization of output and errors, even when you're connected to a TTY. sometimes we wanna be monochrome, and that's valid.
  • -h, --help β€” display a brief help listing. the classic. the og.
  • --only-statements β€” only parse cypher statements and not client commands. strict boundaries, we respect it.
  • --output-width <n> β€” attempt to limit output to the specified width, and render using wrapped columns. tidy ✨
  • --stream β€” output each statement as it is read, rather than parsing the entire input first. > ⚠️ note: this will result in inconsistent formatting of AST dumps. you've been warned, bestie 😭
  • --version β€” print the cypher-lint version and exit. say hi to your version number real quick πŸ“

πŸ’€ EXIT STATUS πŸ’€

cypher-lint exits 0 if no errors are found, and >0 otherwise. so like β€” zero means we ate, anything above zero means we did NOT eat.


⭐ VERSION ⭐

this man page is current for version 0.6.2 of cypher-lint. locked in πŸ”₯


http://www.apache.org/licenses/LICENSE-2.0


🧚 AUTHORS 🧚

Chris Leishman (http://github.com/cleishm) β€” the main character who made all this happen πŸ’œ


and that's the whole page, bestie!! shoutout to cypher-lint version 0.6.2 and the CYPHER-LINT(1) manual, slay, go lint something gorgeous πŸŒΈπŸ’…βœ¨

πŸ“¦ where this page comes from