The Transformalize CLI used to run Transformalize arrangements.
1.7K
Setup a function in your bash profile like this:
function tfl { docker run -it --rm -v "$(pwd)":"$(pwd)" -w "$(pwd)" transformalize.cli:latest "$@"; }
Then you can run Transformalize arrangements just like you installed it, like this:
tfl -a bogus.xml
where bogus.xml is this:
<cfg name="Bogus" read-only="true">
<parameters>
<add name="Seed" type="int" prompt="true" value="1" width="40" v="required()" />
<add name="Size" prompt="true" value="10" type="int" v="required().is(int)" />
</parameters>
<connections>
<add name="input" provider="bogus" seed="@[Seed]" />
</connections>
<entities>
<add name="Sample" update="false" size="@[Size]">
<fields>
<add name="Identity" type="int" />
<add name="FirstName" label="First Name" output="false" />
<add name="LastName" label="Last Name" output="false" />
<add input="false" name="Name" t="format({FirstName} {LastName})" />
<!-- <add name="Email" t='lower().format(<a href="mailto:{Email}">{Email}</a>)' raw="true" /> -->
<add name="Email" length="128" />
<add name="Recent" type="datetime" output="false" />
</fields>
<calculated-fields>
<add name="Last Seen" t="copy(Recent).timeAgo()" />
</calculated-fields>
</add>
</entities>
</cfg>
Find out more about Transformalize here.
Content type
Image
Digest
sha256:829bb98d0…
Size
104.2 MB
Last updated
9 months ago
docker pull dalenewman/transformalize.cli