Skip to content

Auto require plugin #17

Answered by mrcjkb
Willem-J-an asked this question in Q&A
Jun 8, 2024 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Hey 👋

Having the auto self require will make the command directly available to the users, so they don't have to require my plugin in their config.

Yep, I would recommend that (see the initialisation section).

It can be a good idea to create the commands in the plugin/ script, in such a way that nothing needs to be required during initialisation.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Willem-J-an
Comment options

Answer selected by Willem-J-an
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #16 on June 08, 2024 09:59.