-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Is there an existing issue for this?
- I have searched the existing issues
Contact Details
No response
What should this feature add?
Currently the user management scripts (useradd.py, userdel.py, usermod.py, and userlist.py) are scripts located in the scripts/ directory of the repo root. However, when a user installs Invoke from pypi or using the launcher, they won’t have access to the source code repository, so they won’t be able to use the scripts.
The desired enhancement is to covert these scripts into a module that creates a series of command entry points referenced in pyproject.toml’s [project.scripts] section. I think the entry points to the scripts should be in a module located in invokeai/app/util/user_management.py. To avoid clashing with other shell scripts, the commands should be named invoke-useradd, invoke-userdel, invoke-userlist and invoke-usermod.
Alternatives
No response
Additional Content
No response