I whipped up versions of the Coda extension "Manifest Generator" that run in TextMate and TextWrangler. See the previous post on a HTML 5 Manifest Generator for Coda.
HTML5 Manifest Generator for TextMate
To install the bundle- just download, unzip, and double-click. TextMate will open and install the bundle as "Mobilemind" with a command, "Generate Manifest". Usage is as you would expect in TextMate. Feel free to move it to a more appropriate bundle grouping, like say HTML.
HTML5 Manifest Generator A 'Shebang' menu Filter for TextWrangler
To install the Shebang (Shell) menu item- first download, then unzip the shell script. Finally, move the script file into the directory:
~/Library/Application Support/TextWrangler/Unix Support/Unix Filters
Then make sure the script is executable by doing the following in Terminal:
chmod 755 "$HOME/Library/Application Support/TextWrangler/Unix Support/Unix Filters/Manifest Generator"
Then to use it the first time TextWrangler:
Output STDERR to: New Window
Output STDOUT: Windows used for STDERR
The options should "stick" for next time you run the Filter.
If you want to use it as a raw shell command, I'd recommend copying the file "
Manifest Generator" to "
manifest-gen" and putting the copy in the directory "
/usr/local/bin". That will save you typing lots of quotes and/or long paths.