Is it possible to run patterns from command line? #1940
Answered
by
WerWolv
pshirshov
asked this question in
Pattern Language Q&A
-
It would be awesome if we can run patterns as standalone CLI scripts against files and stdin, that would save us a lot of effort in many cases. Although can't figure out if that's possible. Is it? |
Beta Was this translation helpful? Give feedback.
Answered by
WerWolv
Oct 21, 2024
Replies: 1 comment 1 reply
-
ImHex has a command line interface that you can use. Run |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
WerWolv
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ImHex has a command line interface that you can use. Run
imhex --help
to see what's available. The sub command you're looking for isimhex --pl
. There's also a standalone cli for the Pattern Language itself, without any ImHex stuff that you can build yourself from the library sources.