rockcarver / frodo-cli

A CLI to manage ForgeRock platform deployments supporting Identity Cloud tenants, ForgeOps deployments, and classic deployments.
MIT License
19 stars 17 forks source link

Add -D option to all commands to be able to specify directory for saving output. #232

Closed stephenpayne262 closed 1 year ago

stephenpayne262 commented 2 years ago

Is your feature request related to a problem? Please describe. I want to automate exporting all items that can be exported, but want each category to go in it's own Directory. The idm exportAllRaw supports an option -D to do this, but this isn't available across all the export commands.

Describe the solution you'd like Each command would support -D to specify the directory: journey export application export email_tempates idp saml script secret theme

forgerock-dss commented 1 year ago

-D should also be extended for import operations to specify a directory location of the source files

vscheuber commented 1 year ago

frodo-cli v2.0.0-23 and later support -D and --directory option across all export/import sub-commands.