Skip to content

hardis:misc:toml2csv

Description

Split TOML file into distinct CSV files

Parameters

Name Type Description Default Required Options
apiversion option override the api version used for api requests made by this command
debug
-d
boolean Activate debug mode (more logs)
filtersections
-l
option List of sections to process (if not set, all sections will be processed)
json boolean format output as json
loglevel option logging level for this command invocation warn trace
debug
info
warn
error
fatal
outputdir
-o
option Output directory
skipauth boolean Skip authentication check when a default username is required
skiptransfo
-s
boolean Do not apply transformation to input data
targetusername
-u
option username or alias for the target org; overrides default target org
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

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