Sorry if this question is unclear.
I wrote a library in python, to be uploaded to PyPI (pip). I'd like to have my program run and respond to inputs on an environment variable.
For example, refer to this library: https://github.com/rg3/youtube-dl
After installing it via pip, users can instantly call upon the program via.
$ pip install youtube-dl
$ youtube-dl http://youtube.com/video?v=sdfafd7f6s
# What's cool is that the above even works in a virtualenv!
I'd also love for my program to be put on an environment variable, but i'm not sure how to set this up.
Any clues? Thanks!