Skip to content

Ruby CLI: Expose --no-analyze and --track-whitespace options#1249

Merged
marcoroth merged 1 commit into
mainfrom
ruby-cli-analyze-whitespace
Feb 27, 2026
Merged

Ruby CLI: Expose --no-analyze and --track-whitespace options#1249
marcoroth merged 1 commit into
mainfrom
ruby-cli-analyze-whitespace

Conversation

@marcoroth

@marcoroth marcoroth commented Feb 27, 2026

Copy link
Copy Markdown
Owner

This pull request exposes the analyze and track_whitespace parser options to the herb parse subcommand in the Ruby CLI:

Options:
  -j, --json                       Return result in the JSON format
  -s, --silent                     Log no result to stdout
  -n, --non-interactive            Disable interactive output (progress bars, terminal clearing)
      --no-log-file                Disable log file generation
      --no-timing                  Disable timing output
      --local                      Use localhost for playground command instead of herb-tools.dev
      --escape                     Enable HTML escaping by default (for compile command)
      --no-escape                  Disable HTML escaping by default (for compile command)
      --freeze                     Add frozen string literal pragma (for compile command)
      --debug                      Enable debug mode with ERB expression wrapping (for compile command)
      --strict                     Enable strict mode - report errors for omitted closing tags (for parse/compile/render commands) (default: true)
      --no-strict                  Disable strict mode (for parse/compile/render commands)
+     --analyze                    Enable analyze mode (for parse command) (default: true)
+     --no-analyze                 Disable analyze mode (for parse command)
+     --track-whitespace           Enable whitespace tracking (for parse command) (default: false)
      --tool TOOL                  Show config for specific tool: linter, formatter (for config command)
  -v, --version                    Show the version
  -h, --help                       Show this message

@github-actions

github-actions Bot commented Feb 27, 2026

Copy link
Copy Markdown

🌿 Interactive Playground and Documentation Preview

A preview deployment has been built for this pull request. Try out the changes live in the interactive playground:


🌱 Grown from commit d425060


✅ Preview deployment has been cleaned up.

@marcoroth marcoroth merged commit 9da1daa into main Feb 27, 2026
36 of 38 checks passed
@marcoroth marcoroth deleted the ruby-cli-analyze-whitespace branch February 27, 2026 15:43
@marcoroth marcoroth added this to the v1.0.0 milestone Feb 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant