Pomsky CLI
This CLI allows you to compile pomsky expressions to regexes in the command line.
Installation
You can install Pomsky by...
- downloading a pre-built binary
- using the shell or PowerShell installer
- using the Windows msi installer
- installing the
@pomsky-lang/cliNPM module globally - installing the
pomsky-binAUR package
See the releases page for instructions.
Build from source
Ensure you have a recent Rust toolchain installed. Instructions for how to install Rust can be found here. Then run
Usage
Then you can compile pomsky expressions to a regex flavor of your choice; the default is PCRE.
Run pomsky --help for more information.
Pomsky provides nice error messages:
License
Dual-licensed under the MIT license or the Apache 2.0 license.