CLI Reference
scut format
Format source files through scut's formatter integrations.
scut format is the formatter surface used by hooks and direct agent commands. It reads files from arguments or stdin depending on the subcommand.
Generated help
Generated from scut format --help.
Usage: scut format <command> [flags]
Format source code files.
Commands:
format go Format Go source files. Reads from stdin if no files
specified.
format markdown Format Markdown files. Reads from stdin if no files
specified.
Flags:
-h, --help Show context-sensitive help.
-v, --version Print version and exit.
Generated from scut format go --help.
Usage: scut format go [<file> ...] [flags]
Format Go source files. Reads from stdin if no files specified.
Arguments:
[<file> ...] Files to format. If omitted, reads from stdin.
Flags:
-h, --help Show context-sensitive help.
-v, --version Print version and exit.
--force Format files even when ignored by .prettierignore or
.scutignore.
Generated from scut format markdown --help.
Usage: scut format markdown [<file> ...] [flags]
Format Markdown files. Reads from stdin if no files specified.
Arguments:
[<file> ...] Files to format. If omitted, reads from stdin.
Flags:
-h, --help Show context-sensitive help.
-v, --version Print version and exit.
--force Format files even when ignored by .prettierignore or
.scutignore.