carta
cypher-lint(1)

cypher-lint1

A linting tool for cypher

Usage

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

Overview

cypher-lint is a linting tool for Cypher. It reads from input files, reports any errors found, and optionally outputs the parsed AST. If file is a single dash (`-') or absent, cypher-lint reads from standard input.

Options

-1

Only parse the first statement or client command and then exit.

-a, --ast

Output an AST representation for the parsed input.

--colorize

Enable colorization of output and errors using ANSI escape sequences.

--no-colorize

Disable colorization of output and errors even when connected to a TTY.

-h, --help

Display a brief help listing.

--only-statements

Only parse cypher statements and not client commands.

--output-width <n>

Attempt to limit output to the specified width, and render using wrapped columns.

--stream

Output each statement as it is read, rather than parsing the entire input first (note: will result in inconsistent formatting of AST dumps).

--version

Print the cypher-lint version and exit.

Exit status

cypher-lint exits 0 if no errors are found, and >0 otherwise.

Version

This man page is current for version 0.6.0 of cypher-lint.

History

  • Debian 11 (Bullseye) to Debian 10 (Buster): the text shown here
  • Debian 9 (Stretch)

Authors

Chris Leishman (http://github.com/cleishm)

From cypher-lint 0.6.0-1 in Debian 11 (Bullseye). Parsed by carta from the page's man source.