mfuentesg / SyncSettings

Sync Settings - The cross-platform solution to keep Sublime Text configuration synchronized
https://mfuentesg.dev/SyncSettings
MIT License
288 stars 38 forks source link

Add hooks support #104

Open mfuentesg opened 5 years ago

mfuentesg commented 5 years ago

The idea behind this feature is, add the ability to execute commands before/after some specific tasks on this plugin. i.e: after upgrade, before upload.

Constraints:

import sublime
import sublime_plugin

class ExampleCommand(sublime_plugin.TextCommand):
    def run(self, edit):
        self.view.insert(edit, 0, "Hello, World!")