Catmandu::Cmd::run(3pm) | User Contributed Perl Documentation | Catmandu::Cmd::run(3pm) |
NAME¶
Catmandu::Cmd::run - run a fix commandEXAMPLES¶
# Run an interactive Fix shell $ catmandu run # Execute the fix script $ catmandu run myfixes.txt # Execute the scripts with options passed $ catmandu run --var source=bla myfixes.txt $ cat myfixes.txt add_field(my_source,{{source}}) # Or create an execurable fix script: #!/usr/bin/env catmandu run do importer(Mock,size:10) add_field(foo,bar) add_to_exporter(.,JSON) end
2017-01-04 | perl v5.24.1 |