Define a command-line interface by just giving it a description in the specific format.
conda install r::r-docopt