otfmacros/pymacro/readme.md
2021-03-07 10:01:56 +00:00

25 lines
627 B
Markdown

# pymacro
A python implementation of the macros spec
## usage
```
$ ./pymacro -h
usage: pymacro [-h] [-m MACROS_FILE] [-i INPUT] [-o OUTPUT]
optional arguments:
-h, --help show this help message and exit
-m MACROS_FILE, --macros-file MACROS_FILE
File where macros are stored (default: macros)
-i INPUT, --input INPUT
File to be processed. (default: -)
-o OUTPUT, --output OUTPUT
Path of output (default: -)
```
## testing
Run `test.sh`.
A `diff` is run on the actual output against what should have come out according
to the spec.