Expand description
Shell formatting entrypoints built on top of shuck-parser.
Most callers will use format_source for source text or format_file_ast when they
already have a parsed shell AST.
Shell script formatter with configurable style options.
Structs§
- Resolved
Shell Format Options - Formatter option types exposed by the shell formatter.
- Shell
Format Options - Formatter option types exposed by the shell formatter.
Enums§
- Format
Error - Errors that can occur while parsing or formatting shell source.
- Formatted
Source - Result of formatting shell source.
- Indent
Style - Formatter option types exposed by the shell formatter.
- Line
Ending - Formatter option types exposed by the shell formatter.
- Shell
Dialect - Formatter option types exposed by the shell formatter.
Functions§
- format_
file_ ast - Formats a parsed shell file using the provided options.
- format_
source - Formats a shell source string using the provided options.
Type Aliases§
- Result
- Convenient result alias for shell formatting operations.