Graf
RepositoryFinancesDiscussionsDiscordZulip
  • Home
  • Tools
    • gc-as
    • gc-cc
    • gc-chk
    • gc-dis
    • gc-dot
    • gc-fmt
    • gc-ld
    • gc-mc
    • gc-opt
    • gc-run
Powered by GitBook

Copyright © Vezel Contributors

On this page
  • NAME
  • SYNOPSIS
  • DESCRIPTION
  • OPTIONS
  • EXIT STATUS
  • ENVIRONMENT
  • STANDARDS
  • REPORTING BUGS
  • COPYRIGHT
Edit on GitHub
Export as PDF
  1. Tools

gc-fmt

NAME

gc-fmt - the Graph Code formatter

SYNOPSIS

gc-fmt [inputs...] [-c] [options]

DESCRIPTION

gc-fmt formats textual Graph Code into canonical form. The canonical form is opinionated and unconfigurable.

If no input file or directory names are provided or if the only input is -, then input is read from standard input and formatted text is written to standard output. (If - is used, it must be the only input.) Otherwise, formatting is performed in-place to the file names given as well as any files ending in .gc found (recursively) within any directory names given.

Any diagnostic messages are written to standard error.

OPTIONS

  • -h, --help: Print usage information and exit.

  • -v, --version: Print version information and exit.

  • -c, --check: Enable listing non-conforming files rather than applying formatting.

EXIT STATUS

On success, the exit code will be 0. If an error occurs, the exit code will be non-zero.

ENVIRONMENT

  • NO_COLOR: If set to a non-empty value, disables colored diagnostic messages.

STANDARDS

REPORTING BUGS

COPYRIGHT

Copyright © Vezel Contributors

Previousgc-dotNextgc-ld

Last updated 10 months ago

Graph Code

https://docs.vezel.dev/graf/gc
https://github.com/vezel-dev/graf/issues