FMCorz / mdk

Moodle Development Kit. A collection of tools meant to make developers' lives easier.
GNU General Public License v3.0
86 stars 47 forks source link

Add option to provide the path for the instance #43

Closed andrewnicols closed 11 years ago

andrewnicols commented 11 years ago

I know that it's virtually impossible for a child process to change the path of it's parent, but it would be hand to be able to do something like:

cd mdk info -p integration_master

FMCorz commented 11 years ago

How about:

mdk info -v path integration_master
danpoltawski commented 11 years ago

Fred you neglected to mention that you already bundle a script to do what he wants: https://github.com/FMCorz/mdk/blob/master/extra/goto_instance along with: https://github.com/FMCorz/mdk/blob/master/extra/goto_instance.bash_completion

FMCorz commented 11 years ago

Oh, I misunderstood the issue. Indeed, there is a function to do that. Though apparently the autocomplete has to be fixed on Mac, there is an issue for that.

FMCorz commented 11 years ago

Closing.