Skip to content
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

Closed
meesvandongen opened this issue Dec 6, 2022 · 3 comments · Fixed by #189
Closed

extract scripts when importing #205

meesvandongen opened this issue Dec 6, 2022 · 3 comments · Fixed by #189
Labels
enhancement New feature or request

Comments

@meesvandongen
Copy link
Contributor

A new option, -x --extract, which would extract scripts to separate files. Affected are any commands that export (and import) scripts, such as frodo script and frodo 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.

@meesvandongen meesvandongen added the enhancement New feature or request label Dec 6, 2022
@meesvandongen
Copy link
Contributor Author

@vscheuber Could you confirm that you have seen this issue?

@vscheuber
Copy link
Contributor

@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.

@vscheuber vscheuber transferred this issue from rockcarver/frodo-lib Feb 15, 2023
@vscheuber vscheuber linked a pull request Feb 15, 2023 that will close this issue
@vscheuber
Copy link
Contributor

Duplicate of #52

@vscheuber vscheuber marked this as a duplicate of #52 Feb 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
2 participants