7 Commits

Author SHA1 Message Date
Tzu-ping Chung
3770ab8c6c Integrate GBCli 2014-12-02 14:28:38 +08:00
Tzu-ping Chung
834aa299f5 Cleanup 2014-11-23 00:59:55 +08:00
Tzu-ping Chung
dd967a4e8f Make version outputs match 2014-11-22 22:04:27 +08:00
Tzu-ping Chung
c2ac5aeb72 Add version generation and print job 2014-11-22 22:01:51 +08:00
Tzu-ping Chung
225a100558 Use CoreFoundation to maintain 10.8 compatibility 2014-11-22 22:01:50 +08:00
Tzu-ping Chung
0b81296656 Implement better file-opening utility
This implements a preference-based file-opening scheme. When the
CLI utility is run, all file name arguments are resolved to
absolute URLs and stored in a user default key *under the master
Macdown application's namespace*, and then launch MacDown.

Everytime MacDown is launched, it checks the aforementioned user
default key, and open any documents in it, creating non-saved drafts
if necessary (for non-existing documents). This mimics the expected
behaviours for "normal" editors, like VIM, nano, etc.. The user
default key is reset to nil after the documents are opened.

Closed #35.
2014-11-22 22:01:50 +08:00
Esben Sorig
3c72894769 Added command line utility.
Added a new target to the project. This is a command line utility
launcher for MacDown. The command line utility allows users to symlink
to their /usr/local/bin folder. In this way users can open files with
MacDown from the command line.
2014-11-22 22:01:50 +08:00