Command-Line Coda is a script for Panic's Coda. It allows you to open files in Coda from the command line.
coda [a list of files or directories you want to open]
coda myfile.txt # coda creates files if they don't exist
coda somedir # if you specify a directory, coda will open all files in that directory
coda file1.txt file2.txt somedir3 # you can open multiple files
gem install coda
By default, we assume that Coda lives at /Applications/Coda.app
. To override this path, set the CODAPATH
variable:
CODAPATH=/User/Applications/Coda.app coda test.txt
Put it in your .bash_profile
so you don't have to set it each time.
Written by Aditya Bhargava. No warranty is implied, use at your own risk.