On some hosts it's not possible to write the the filesystem (e.g. VIP). As such the import & export commands fail because they cannot write to the filesystem.
This change ensures the commands work as expected with a given directory but also accept STDIN for importing settings and printing the JSON for exports.
On some hosts it's not possible to write the the filesystem (e.g. VIP). As such the import & export commands fail because they cannot write to the filesystem.
This change ensures the commands work as expected with a given directory but also accept STDIN for importing settings and printing the JSON for exports.
For example, the settings can be exported with
OR
Similarly, importing settings can be done with
OR
OR