We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Problem
At the moment to run addonfactory-ucc-generator from a python file we need to create a subprocess
addonfactory-ucc-generator
subprocess.run(["ucc-gen", "arguments go here"], env=os.environ)
Which makes it harder to debug and catch errors.
Possible solution
What about creating another function called main_with_args which we will be able to normally use in python code, e.g.
main_with_args
from splunk_add_on_ucc_framework import main_with_args main_with_args(source="..", ....)
The text was updated successfully, but these errors were encountered:
Started working on that in https://github.com/splunk/addonfactory-ucc-generator/tree/feature/ucc-as-a-library branch.
Sorry, something went wrong.
🎉 This issue has been resolved in version 5.1.0 🎉
The release is available on:
v5.1.0
Your semantic-release bot 📦🚀
Successfully merging a pull request may close this issue.
Problem
At the moment to run
addonfactory-ucc-generator
from a python file we need to create a subprocesssubprocess.run(["ucc-gen", "arguments go here"], env=os.environ)
Which makes it harder to debug and catch errors.
Possible solution
What about creating another function called
main_with_args
which we will be able to normally use in python code, e.g.The text was updated successfully, but these errors were encountered: