Skip to content

Conversation

spect88
Copy link
Contributor

@spect88 spect88 commented Jul 18, 2024

Hi,

this PR adds a new CLI option that can be used to specify what kind of content is being passed via STDIN or -e option.

E.g.

cat app/views/some_file.html.erb | stree format --plugins=erb --handler=erb

Some tools/editors only work with formatters that support STDIN input.

Copy link
Member

@kddnewton kddnewton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, this works.

@kddnewton kddnewton closed this Jul 10, 2025
@kddnewton kddnewton reopened this Jul 10, 2025
@kddnewton kddnewton force-pushed the cli-handler-option branch from f10de32 to 76dc51e Compare July 10, 2025 21:44
@kddnewton kddnewton merged commit 8a4d546 into ruby-syntax-tree:main Jul 11, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants