Minimalist-Markdown-Editor-for-Chrome
Minimalist-Markdown-Editor-for-Chrome copied to clipboard
How to open file from command line?
on osx I've gotten close:
- Make an app shortcut in Applications folder:
- open
chrome://extensions
, right click and choose create shortcut - It will put the shortcut to
~/Applications/Chrome\ Apps.localized
- I moved it to the regular Applications folder:
/Applications
- I renamed it to "md"
- open
- now i can open with
open -a "md"
My question is: How can i make it open a file?
like open -a "md" README.md
(that doesnt work)
The above steps in one can also be solved using a simlink -- eg:
ln -s /Volumes/Macintosh_HD/Users/shauncutts/Applications/Chrome\ Apps.localized/Default\ pghodfjepegmciihfhdipmimghiakcjf.app/Contents/MacOS/app_mode_loader ~/bin/md
However, it still doesn't take a command line argument for the file to open. Great if it could!