Hi all,
Glue is a cross-platform Sublime 2/3 plugin that supports execution of system commands with input from a text input field at the bottom of the editor window and display of the standard output in an editor view. It adds a few ‘built-in’ commands that allow you to perform file maintenance tasks with a CLI approach (file opens by name, wildcard file opens, new files). And it supports extensions that act like shell aliases, executing a command with optional additional command line arguments, the current working directory path, or the contents of the clipboard, with the following syntax:
glue <your-command>
These extensions are straightforward to generate. If you can add a line to a JSON file (just like you do with all other ST settings), then you can make an extension using any system utility, or scripts in any language that your system supports. And you can create an alias for anything that you build which accepts the standard input stream. Compilers, compression, minifiers, text manipulation applications, unit testing, profiling, version control, etc. It should all be possible inside the editor.
Docs are available at http://gluedocs.readthedocs.org/.
The Sublime Package Control page is https://sublime.wbond.net/packages/Glue.
If you are using Package Control, open your Command Palette, type ‘glue’ and click to install. Have a read through the documentation about your PATH settings so that Glue runs the proper versions (and is able to find) of any system executables that you request on the command line.
Please report any issues on the Github repository https://github.com/chrissimpkins/glue/issues.
If you are interested in helping with the development of Glue, feel free to fork the repo, and start working on the develop branch or generate a feature branch of your own.
Enjoy!
Chris