Skip to content

tmctl create transformation

tmctl create transformation

Create TriggerMesh transformation. More information at https://docs.triggermesh.io/transformation/jsontransformation/

tmctl create transformation [--target <name>][--source <name>...][--eventTypes <type>...][--from <path>][--wizard] [flags]

Examples

tmctl create transformation <<EOF
  data:
  - operation: add
    paths:
    - key: new-field
      value: hello from Transformation!
EOF

Options

      --eventTypes strings   Event types filter
  -f, --from string          Transformation specification file
  -h, --help                 help for transformation
      --name string          Transformation name
      --source strings       Sources component names
      --target string        Target name
      --wizard               Experimental transformation wizard

Options inherited from parent commands

      --version string   TriggerMesh components version. (default "v1.25.1")

SEE ALSO