flextag-mapper-cli
v0.0.2
Published
A command line interface for flextag-mapper
Downloads
1
Readme
flextag-mapper-cli
A command line interface for the flextag-mapper tool.
Example
$ cd example/hello
$ cat data.flextag
Hello World!
Good evening Human.
$ cat default.mapspec
Good (morning|evening) ?name
Hello ?location!
$ flextag-parse data.flextag
[ { location: 'World' }, { name: 'Human' } ]
$ flextag-parse data.flextag | flextag-unparse
Hello World!
Good morning Human