Skip to content

sprocket format

The format subcommand provides automated formatting of WDL documents.

When running sprocket format, you must choose whether you want to --check the files (i.e., ensure the documents are formatted correctly without changing anything — useful for continuous integration) or --overwrite the files (i.e., apply any necessary formatting changes to the files).

There are a number of options for formatting that can be configured: either via format key in your sprocket.toml (see the FormatConfig struct in the configuration source code for a full list of options) or via the various command line flags made available on the subcommand.