CLI Options
Complete reference for all command-line options.
Global Options
Section titled “Global Options”--help, -h
Section titled “--help, -h”Print help information for the command.
maki --helpmaki lint --help--version, -V
Section titled “--version, -V”Print version information.
maki --version# Output: maki 0.1.0--verbose, -v
Section titled “--verbose, -v”Enable verbose logging output.
maki --verbose lint **/*.fsh--color <WHEN>
Section titled “--color <WHEN>”Control color output:
auto- Automatic (default)always- Always colorizenever- Never colorize
maki --color always lint **/*.fshmaki --color never lint **/*.fsh > output.txtLint Options
Section titled “Lint Options”Automatically apply safe fixes.
maki lint --fix **/*.fsh--severity <LEVEL>
Section titled “--severity <LEVEL>”Filter diagnostics by minimum severity:
hintinfowarnerror
maki lint --severity error **/*.fsh--format <FORMAT>
Section titled “--format <FORMAT>”Output format:
human- Human-readable (default)json- JSON formatsarif- SARIF formatgithub- GitHub Actions annotations
maki lint --format json **/*.fshmaki lint --format github **/*.fsh--config <PATH>
Section titled “--config <PATH>”Specify configuration file path.
maki lint --config custom-config.json **/*.fsh--no-config
Section titled “--no-config”Ignore all configuration files.
maki lint --no-config **/*.fsh--max-diagnostics <N>
Section titled “--max-diagnostics <N>”Limit number of diagnostics shown.
maki lint --max-diagnostics 50 **/*.fsh--rule <RULE>
Section titled “--rule <RULE>”Enable only specific rules.
maki lint --rule style/naming-convention **/*.fshmaki lint --rule correctness/** **/*.fsh--ignore-pattern <PATTERN>
Section titled “--ignore-pattern <PATTERN>”Ignore files matching pattern.
maki lint --ignore-pattern "**/*.generated.fsh" **/*.fshFormat Options
Section titled “Format Options”--check
Section titled “--check”Check formatting without modifying files.
maki format --check **/*.fsh--diff
Section titled “--diff”Show formatting differences.
maki format --diff **/*.fshInit Options
Section titled “Init Options”--full
Section titled “--full”Generate full example configuration.
maki init --full--output <PATH>
Section titled “--output <PATH>”Specify output path for configuration.
maki init --output .makirc.jsonRules Options
Section titled “Rules Options”--detailed
Section titled “--detailed”Show detailed rule information.
maki rules --detailed--category <CATEGORY>
Section titled “--category <CATEGORY>”Filter rules by category:
styledocumentationcorrectnesssuspicious
maki rules --category style--search <QUERY>
Section titled “--search <QUERY>”Search rules by name or description.
maki rules --search namingEnvironment Variables
Section titled “Environment Variables”FSH_LINT_CONFIG
Section titled “FSH_LINT_CONFIG”Override configuration file path.
export FSH_LINT_CONFIG=custom-config.jsonmaki lint **/*.fshFSH_LINT_NO_COLOR
Section titled “FSH_LINT_NO_COLOR”Disable color output.
export FSH_LINT_NO_COLOR=1maki lint **/*.fshFSH_LINT_CACHE_DIR
Section titled “FSH_LINT_CACHE_DIR”Set cache directory location.
export FSH_LINT_CACHE_DIR=.maki-cachemaki lint **/*.fsh