<HTML>
<HEAD>
<TITLE>How do I create a new command in a bundle?</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>I am trying to follow these instructions and I do not understand how to create a new command. Can someone please explain how this is done? <BR>
<BR>
<a href="https://coderwall.com/p/j7qqsa/minify-your-css-inside-of-textmate">https://coderwall.com/p/j7qqsa/minify-your-css-inside-of-textmate</a><BR>
<BR>
<BR>
In your <B>Bundles</B> menu, go to <B>Edit Bundles</B> and select your favorite CSS Bundle (I am personally a huge proponent of mCss <<a href="http://minimaldesign.net/downloads/tools/textmate-css-bundle">http://minimaldesign.net/downloads/tools/textmate-css-bundle</a>> ). Add a new Command, and enter make the command contents the following code:<BR>
<BR>
</SPAN></FONT><FONT SIZE="1"><FONT FACE="Andale Mono"><SPAN STYLE='font-size:9pt'># Create the minified filename<BR>
</SPAN></FONT></FONT><FONT FACE="Andale Mono"><SPAN STYLE='font-size:11pt'>NEWFILE=${TM_FILENAME%\.css}'.min.css'<BR>
<BR>
# Minify into that file<BR>
curl -X POST -s --data-urlencode "input@${TM_FILENAME}" \<BR>
    <a href="http://www.cssminifier.com/raw">http://www.cssminifier.com/raw</a> > $NEWFILE<BR>
<BR>
# And open it<BR>
mate $NEWFILE<BR>
<BR>
<BR>
</SPAN></FONT><SPAN STYLE='font-size:11pt'><FONT FACE="Calibri, Verdana, Helvetica, Arial">You can make your key equivalent anything you'd like, I set mine to <I>Cmd + Shift + R</I>. Once you have done this, give it a whirl. You should see that your <I>styles.css</I> generates a <I>styles.min.css</I> in the same directory, as well as opens it in Textmate.<BR>
<BR>
To note: if you don't have the Textmate command line utility installed, simply delete the last line of this command to stop seeing errors.<BR>
</FONT></SPAN>
</BODY>
</HTML>