Catmandu::Cmd::run(3pm)

Catmandu::Cmd::run3pm

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

Releases

5 releases since Debian 9 (Stretch); the text changed 4 times.

  1. 9
  2. 10
  3. 11
  4. 12
  5. 13

From libcatmandu-perl 1.2024-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.