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

Feature: users-from addon hook #45

Open
wants to merge 5 commits into
base: develop
Choose a base branch
from

Conversation

wayneeseguin
Copy link
Contributor

@wayneeseguin wayneeseguin commented Dec 11, 2024

The users-from addon hook generates an ops/users.yml file when the addon is run.
Can add/remove users from either github (default) or gitlab.
ex: genesis do users-from add gitlab/wayneeseguin krutten github/dennisjbell

Integrate the `hooks/users-from` addon with the Genesis framework to be callable via `genesis do users-from ...`.

* Add `users-from` to the list of available addons in `hooks/addon`.
* Add a case for `users-from` in the `case $GENESIS_ADDON_SCRIPT` block in `hooks/addon`.
@wayneeseguin
Copy link
Contributor Author

Open to a different addon name...
Also current functionality might need a refactor since it leaves timestamp based files in the ops/ directory 😅

@wayneeseguin
Copy link
Contributor Author

@dennisjbell I'm happy with this new users hook now. Ready for review 🙇

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.

1 participant