Skip to content

[enhancement]: Move user management scripts to modules #68

@lstein

Description

@lstein

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

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions