Open a file in an app via command line(OSX)

This is very simple to implement and saves some time clicking around.

In terminal you can use this line of code.
open -a Brackets serve.go

open = self explanatory
-a = access any application
Brackets = can be any app you have in your applications folder. The file will be opened in this app.
serve.go = any filename that currently exists in the directory that you are in.

If you need to create a file use:
touch filename
If you need to create a directory:
mkdir foldername
If you need to move to the directory you just created use:
cd foldername

You can learn more here: