-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
extract scripts when importing #205
Labels
enhancement
New feature or request
Comments
@vscheuber Could you confirm that you have seen this issue? |
@meesvandongen this is super interesting to us and been on our radar for a while, see #52 I've been heads-down wrapping up some important work to support new ID Cloud functionality and haven't gotten to review your proposal in detail. I hope to get to it shortly. |
Merged
Duplicate of #52 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A new option,
-x --extract
, which would extract scripts to separate files. Affected are any commands that export (and import) scripts, such asfrodo script
andfrodo idm
(e.g. onCreate scripts). The export result could look like this:my-script-name.script.js
my-script-name.meta.json
Where
my-script-name.meta.json
would refer to a.script.js
file for relevant fields.Use case is being more easily able to edit scripts locally.
It would require some kind of abstraction to handle scripts in every possible file. Next to this, files with multiple scripts should be handled. Furthermore, different languages should be taken into account (groovy, js).
Is this something you would be interested in? I will be able to make a PR.
The text was updated successfully, but these errors were encountered: