salarkhan / git-pear

swap credentials after each commit
3 stars 0 forks source link

Internal file invocation #7

Closed salarkhan closed 10 years ago

salarkhan commented 10 years ago

Assuming the only commands the end user should ever need are 'pear', 'pear email email', and 'pear uninstall' --

Are we gonna have a file who's job it is to handle user input && invoke the respective files? Cause I was kinda confused about how file invocation within the application is supposed to work

supertopher commented 10 years ago

i have been thinking about this, we could just scrub input for an @ symbol, and if there is an @ symbol fire off our automated stuff. if there is no @ symbol function as it is now.

thoughts?

salarkhan commented 10 years ago

I can dig it. I guess there's really no need for some complicated ass regex when just an @ symbol will do

salarkhan commented 10 years ago

@supertopher you got this in an upcoming PR or should i take this?