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

Plugins install #883

Closed
KThand1 opened this issue Jan 9, 2017 · 2 comments
Closed

Plugins install #883

KThand1 opened this issue Jan 9, 2017 · 2 comments
Assignees
Milestone

Comments

@KThand1
Copy link
Contributor

KThand1 commented Jan 9, 2017

Hi I have a FR,

If possible.

Instead of typing out the file name for every plugin I wish to install can Profanity be given a path to a plugins directory, for example and then install everything within that?

Perhaps could also install based on extension (.py, .rb etc)

Thanks.

@boothj5 boothj5 added this to the 0.6.0 milestone Jan 9, 2017
@boothj5 boothj5 self-assigned this Feb 5, 2017
@boothj5
Copy link
Collaborator

boothj5 commented Feb 5, 2017

Added some changes in master:

The /plugins install command now also accepts a directory as its argument, and will load all (Python and C) plugins found recursively in that directory:

/plugins install ~/projects-git/profanity-plugins/stable

Also added /plugins sourcepath command to set a default to use above rather than having to type the path each time, for example:

/plugins sourcepath set ~/projects-git/profanity-plugins/stable

From this point on you can just:

/plugins install

Also added the ability to bulk enable/disable all plugins by not supplying arguments:

/plugins load
/plugins unload

@jubalh
Copy link
Member

jubalh commented Aug 16, 2018

Relevant commits:
286fecf
5f1ba08

@jubalh jubalh closed this as completed Aug 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants