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

sopel-plugins CLI cannot manage removed plugins #2564

Open
dgw opened this issue Nov 15, 2023 · 2 comments
Open

sopel-plugins CLI cannot manage removed plugins #2564

dgw opened this issue Nov 15, 2023 · 2 comments
Labels
Feature Needs Triage Issues that need to be reviewed and categorized

Comments

@dgw
Copy link
Member

dgw commented Nov 15, 2023

Requested Feature

I think being able to do e.g. sopel-plugins disable thiswasremoved via the CLI would be helpful.

Problems Solved

After deleting or uninstalling a plugin called name, if one doesn't do it ahead of time, sopel-plugins disable name will display "No plugin named name." and leave the config file untouched.

Alternatives

The alternative (and current workaround) is to manually edit the .cfg file.

Notes

I'm using core.enable on my test bot, so I noticed the inability to disable a removed plugin. There's probably behavior that would be similarly useful for the core.exclude setting (from which plugins are usually removed with sopel-plugins enable, but I haven't spent the time to figure out how that should look yet. (This is already enough non-8.0.0-relevant work for one day!)

@dgw dgw added Feature Needs Triage Issues that need to be reviewed and categorized labels Nov 15, 2023
@Exirel
Copy link
Contributor

Exirel commented Nov 16, 2023

We could have a sopel-plugins prune subcommand to automatically perform that.

@dgw
Copy link
Member Author

dgw commented Nov 17, 2023

There's a thought. Maybe with a Proceed (Y/n)? prompt like you get for pip uninstall.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Needs Triage Issues that need to be reviewed and categorized
Projects
None yet
Development

No branches or pull requests

2 participants