Skip to content

hardis:misc:toml2csv

Description

Split TOML file into distinct CSV files

Parameters

Name Type Description Default Required Options
debug
-d
boolean Activate debug mode (more logs)
filtersections
-l
option List of sections to process (if not set, all sections will be processed)
flags-dir option undefined
json boolean Format output as json.
outputdir
-z
option Output directory
skipauth boolean Skip authentication check when a default username is required
skiptransfo
-s
boolean Do not apply transformation to input data
target-org
-o
option undefined
tomlfile
-f
option Input TOML file path
transfoconfig
-t
option Path to JSON config file for mapping and transformation
websocket option Websocket host:port for VsCode SFDX Hardis UI integration

Examples

$ sf hardis:misc:toml2csv --tomlfile 'D:/clients/toto/V1_full.txt' 
$ sf hardis:misc:toml2csv --skiptransfo --tomlfile 'D:/clients/toto/V1_full.txt' 
$ sf hardis:misc:toml2csv --skiptransfo --tomlfile 'D:/clients/toto/V1_full.txt' --outputdir 'C:/tmp/rrrr'
$ NODE_OPTIONS=--max_old_space_size=9096 sf hardis:misc:toml2csv --skiptransfo --tomlfile './input/V1.txt' --outputdir './output' --filtersections 'COMPTES,SOUS'