getantibody / antibody

The fastest shell plugin manager.
http://getantibody.github.io
MIT License
1.68k stars 62 forks source link

Why handling stdin and args differently #11

Closed casimir closed 8 years ago

casimir commented 9 years ago

Just an idea but why not treat several arguments to bundle the same way than stdin? If you think about it you already have the code, having this function taking the bundle list as argument instead of a file reader would do the trick. This way you could have concurrent loading directly from your .zshrc:

antibody bundle name1 name2 name3 name4

# Or maybe more readable

antibody bundle name1 \
                name2 \
                name3 \
                name4

Or maybe I'm completely wrong but let me know too. :wink:

caarlos0 commented 9 years ago

Good idea, @casimir!

I'm doing some refectories now, when I finish, I'll do this!

Many thanks!

caarlos0 commented 8 years ago

I decided not to do that, because if I do, I would not be able to lock versions of stuff, or add other params in the future...