Uncommon / Xit

Mac OS X Git GUI
Other
1.08k stars 50 forks source link

CLI Launcher / Command Line Helper #428

Closed pshirshov closed 4 years ago

pshirshov commented 5 years ago

Hi,,

It would be great to have a way to launch Xit in current directory from terminal.

Latest GitX fork does support that.

The easiest way would be to parse app args, so the user may invoke it like

open /Applications/Xit.app --args `pwd`
Uncommon commented 5 years ago

Is there anything you would like it to be able to do besides open a specified directory?

pshirshov commented 5 years ago

Nope

Uncommon commented 4 years ago

Would open -a Xit <path> work well enough for your purposes?

pshirshov commented 4 years ago

Yeah, it would be great!

Uncommon commented 4 years ago

Alright, since that works and it's easy, I'll go ahead and close this. Implementing a proper command line interface doesn't seem worthwhile since open does what is needed.