Skip to content

induxx/parsable-file-multi-tool

 
 

Repository files navigation

Introduction

Installation

bin/docker/composer install

Configuration

Some transformation files depend on API credentials that are not stored inside the transformations.

You can add these directives on your main-STEP or the transformation you are working on.

In this example "my-account" is used as the account name accross all transformations

account:
   name: "my-account"
   username: "my-username"
   password: "my-password"
   domain: "my-domain"
   client_id: "my-client-id"
   client_secret: "my-client-secret"

You could also add context parameters to your transformation file the same way

context:
    my-parameter: "my-value"

Usage

Discover all options

bin/docker/console transformation --help

Here is a minimal example of a transformation file:

Transform a file

bin/docker/console transformation --file example/project/transformations/transformation.yaml --source example/project/source --workpath example/project/workpath

Debugging

Debug the first item that would be written

bin/docker/console transformation --file ... --source ... --workpath ... --debug

try the first 100 items

bin/docker/console transformation --file ... --source ... --workpath ... --try 100

In case you have dynamic mappings, you can show the mappings that would be used

bin/docker/console transformation --file ... --source ... --workpath ... --showMappings

Write only this line, skip the rest

bin/docker/console transformation --file ... --source ... --workpath ... --line 100

Write only this line, skip the rest

bin/docker/console transformation --file ... --source ... --workpath ... --line 100

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 99.6%
  • Other 0.4%