
Book command [draft]
***********************

.. argparse::
   :module: pywizard.cli
   :func: build_argparser
   :prog: pywizard
   :path: book

   install
        ref
            Currently book-ref have only one format (install package from github)::

                github://tangentlabs/django-oscar#d636b803d98cd1d3edd01821d4fb2a01ce215ee4

                github://%username%/%repo%#%commit_or_tag%

                result will be:
                git+https://github.com/tangentlabs/django-oscar.git@d636b803d98cd1d3edd01821d4fb2a01ce215ee4#egg=django-oscar

            If book uses book naming convention, then you can use @::

                gtihub://tangentlabs@some-book

                // or just:
                tangentlabs@some-book

                result:
                git+https://github.com/tangentlabs/pywizard-book-django-oscar.git#egg=pywizard-book-django-oscar

                note "pywizard-book-" prefix is added.


            Commit may be ommited, then latest commit will be used.
            github:// prefix is also assumed by default::

                tangentlabs/django-oscar

            In case of books hosted in pwyizard github account account, you may ommit also, %username%::

                generate

                result will be:
                git+https://github.com/pywizard/generate.git#egg=generate
