OS Manuals

/opt/chainguard/nemo-rl/venvs/mcore/bin/sqlformat

NeMo RL venv for the Megatron training workers

From nemo-rl-cuda-13.0-mcore 0.7.0-r23 (enterprise-packages), captured 2026-11-09 by running sqlformat --help (exit 0). permalink

usage: sqlformat [OPTIONS] FILE [FILE ...]

Format FILE according to OPTIONS. Use "-" as FILE to read from stdin.

positional arguments:
  filename              file(s) to format (use "-" for stdin)

options:
  -h, --help            show this help message and exit
  -o, --outfile FILE    write output to FILE (defaults to stdout)
  --in-place            format files in-place (overwrite existing files)
  --version             show program's version number and exit

Formatting Options:
  -k, --keywords CHOICE
                        change case of keywords, CHOICE is one of "upper", "lower", "capitalize"
  -i, --identifiers CHOICE
                        change case of identifiers, CHOICE is one of "upper", "lower",
                        "capitalize"
  -l, --language LANG   output a snippet in programming language LANG, choices are "python", "php"
  --strip-comments      remove comments
  -r, --reindent        reindent statements
  --indent_width INDENT_WIDTH
                        indentation width (defaults to 2 spaces)
  --indent_after_first  indent after first line of statement (e.g. SELECT)
  --indent_columns      indent all columns by indent_width instead of keyword length
  -a, --reindent_aligned
                        reindent statements to aligned format
  -s, --use_space_around_operators
                        place spaces around mathematical operators
  --wrap_after WRAP_AFTER
                        Column after which lists should be wrapped
  --comma_first COMMA_FIRST
                        Insert linebreak before comma (default False)
  --compact COMPACT     Try to produce more compact output (default False)
  --encoding ENCODING   Specify the input encoding (default utf-8)
Options (18)
OptionDescriptionSource
-h, --helpshow this help message and exithelp
-o, --outfile FILEwrite output to FILE (defaults to stdout)help
--in-placeformat files in-place (overwrite existing files)help
--versionshow program's version number and exithelp
-k, --keywords CHOICEchange case of keywords, CHOICE is one of "upper", "lower", "capitalize"help
-i, --identifiers CHOICEchange case of identifiers, CHOICE is one of "upper", "lower", "capitalize"help
-l, --language LANGoutput a snippet in programming language LANG, choices are "python", "php"help
--strip-commentsremove commentshelp
-r, --reindentreindent statementshelp
--indent_width INDENT_WIDTHindentation width (defaults to 2 spaces)help
--indent_after_firstindent after first line of statement (e.g. SELECT)help
--indent_columnsindent all columns by indent_width instead of keyword lengthhelp
-a, --reindent_alignedreindent statements to aligned formathelp
-s, --use_space_around_operatorsplace spaces around mathematical operatorshelp
--wrap_after WRAP_AFTERColumn after which lists should be wrappedhelp
--comma_first COMMA_FIRSTInsert linebreak before comma (default False)help
--compact COMPACTTry to produce more compact output (default False)help
--encoding ENCODINGSpecify the input encoding (default utf-8)help

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.