stylua
Verified for current stable LTS
Stylua Commands
Stylua command syntax with verified terminal examples.
Commands
5 commands for Stylua
stylua Operations
Stylua Command: Auto Format File Or Directory
stylua <path/to/file_or_directory> stylua Operations
Stylua Command: Check File Formatter Status
stylua --check <path/to/file> stylua Operations
Stylua Command: Format Code From Stdin Output To Stdout
stylua - < <path/to/file.lua> stylua Operations
Stylua Command: Format With Spaces And Single Quotes
stylua --indent-type <Spaces> --quote-style <AutoPreferSingle> <path/to/file_or_directory> stylua Operations
Stylua Command: Run With Specific Configuration
stylua --config-path <path/to/config_file> <path/to/file> Suggest a Stylua Command
Submit missing workflows, corrections, or verified alternatives for this tool.
FAQ
Coverage: Focused examples for common Stylua workflows.
Verified version: current stable LTS.
Verification: Test commands in a disposable workspace and submit notes for edge cases.