gpsscli convert

gpsscli convert

Convert a version 1 or version 2 load configuration file to version 3 (Beta) format.

Synopsis

gpsscli convert loadcfg.yaml
    [-i | --edit-in-place]

gpsscli convert {-h | --help}

Description

The gpsscli convert command converts a version 1 or version 2 load configuration file to version 3 (Beta) format.

By default, the command writes the converted file to stdout. If you specify the -i or --edit-in-place option, the command overwrites the input loadcfg.yaml with the new version 3 format.

Note: gpsscli convert does not currently support converting a load configuration file in which properties are set using template parameters.

Options

loadcfg.yaml
The load configuration file.
-i | --edit-in-place
Instead of writing to stdout, edit the file in place, overwriting the input file with the new version 3 format.
-h | --help
Show command utility help, and then exit.

Examples

Convert the version 2 load configuration file named etljob.yaml to version 3 format, editting the file in place:

$ gpsscli convert --edit-in-place etljob.yaml
convert file in place successfully