NAME

Catmandu::Cmd::run - run a fix command

EXAMPLES

# 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