/flextag-mapper-cli

A command line interface for flextag-mapper

Primary LanguageJavaScript

flextag-mapper-cli

NPM version

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