Facilitates to develop Greasemonkey scripts in any directory outside browser
To install:
$ sudo cp gm-util.sh /usr/local/bin/gm-util
To uninstall:
$ sudo rm /usr/local/bin/gm-util
At first time
- Create userscript on browser
- Discover files:
gm-util ls
- Look path to file:
gm-util look STRING
- Make sure you are in your working directory
- Get it by first time:
gm-util init FILEPATH
Cyclically at current work directory
- Make edits
- Check the sync with browser:
gm-util diff FILE
- If necessary, sync from browser:
gm-util get FILE
- If necessary, sync to browser:
gm-util set FILE
- If necessary, sync from browser:
- Manage your Git repository