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

Plugin system #161

Closed
wants to merge 2 commits into from
Closed

Plugin system #161

wants to merge 2 commits into from

Conversation

icepuma
Copy link
Member

@icepuma icepuma commented Mar 21, 2022

No description provided.

@icepuma icepuma requested a review from rawkode March 21, 2022 21:54
@icepuma
Copy link
Member Author

icepuma commented Mar 21, 2022

I'll fix the tests later!

- runtimes are "koto" and "shell"
  - "koto" runtime gets contexts injected as prelude and scripts have to exit with true -> success | false -> failure
  - "shell" runtime gets contexts injected in the form of env vars and scripts have to end with exit code 0 -> success and exit code -> 0
- plugins have a plan and a run script
- plugin directory currently is "$CONFIG_DIR/comtrya/plugins"
@icepuma icepuma removed the request for review from rawkode March 21, 2022 22:50
@icepuma icepuma closed this Mar 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant