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

On Off Commands #35

Closed
primeapple opened this issue Aug 1, 2022 · 4 comments
Closed

On Off Commands #35

primeapple opened this issue Aug 1, 2022 · 4 comments

Comments

@primeapple
Copy link

Hi, please re-add the on/off commands, previously it was on_off_commands = true inside of the config table.

@pocco81
Copy link
Owner

pocco81 commented Aug 6, 2022

Hmm are you sure this is necessary? I already exposed the API so that users can make their commands/use it for whatever they want.

@primeapple
Copy link
Author

primeapple commented Aug 7, 2022

What do you mean with the exposed API? You mean the callbacks and the condition?

@pocco81
Copy link
Owner

pocco81 commented Aug 7, 2022

What do you mean with the exposed API?

The functions to toggle auto-save on and off

@primeapple
Copy link
Author

I see.
Just for future reference: This one will enable: require("auto-save").on(), this one will disable the plugin: require("auto-save").off()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants