salarkhan / git-pear

swap credentials after each commit
3 stars 0 forks source link

pear uninstall should be pear quit #38

Closed salarkhan closed 10 years ago

salarkhan commented 10 years ago

Or some other word that more accurately reflects the ending of a session.

supertopher commented 10 years ago

i actually kinda want this is to really uninstall, as we talked about in meatspace

salarkhan commented 10 years ago

Forgot the details of our convo -- are we cool with having two separate commands? One for quitting the session and one for uninstalling pear?

supertopher commented 10 years ago

i want uninstall to uninstall but to just ask for yes or no... although myles might hate the idea of a check on that as it violates the golden rule. and i'm not opposed to a quit command. did you have any ideas for what the command would be?

salarkhan commented 10 years ago

One of the commits in #40 renamed all refs to pear uninstall with pear quit. I like how simply typing pear will end the session ( by calling pear quit ).

pear uninstall should remove pear from whatever directory it's installed to && shouldn't violate the golden rule.

supertopher commented 10 years ago

i think we should remove our install. which is to say remove our symlink. if the user wants to delete the repo let them do it on their own time

salarkhan commented 10 years ago

Oh damn I like that. I'm assuming that's how brew does it, too.

Like, they just install the package to some random dir like keg/cellar/insert-beer-pun. Then (un)installing is just a matter of handling symlinks