Skip to content
This repository has been archived by the owner on Nov 30, 2020. It is now read-only.

Commit

Permalink
Add documentation about CLI options
Browse files Browse the repository at this point in the history
  • Loading branch information
jlesquembre committed Feb 4, 2016
1 parent db7c54b commit 555e845
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/conf.py
Expand Up @@ -53,7 +53,7 @@ def __getattr__(cls, name):
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
extensions = ['sphinx.ext.autodoc', 'sphinx.ext.todo', 'sphinx.ext.coverage',
'sphinx.ext.pngmath', 'sphinx.ext.mathjax',
'sphinx.ext.intersphinx']
'sphinx.ext.intersphinx', 'sphinxcontrib.programoutput']

if not on_rtd:
extensions += ['sphinxcontrib.spelling']
Expand Down
17 changes: 17 additions & 0 deletions docs/source/intro.rst
Expand Up @@ -119,3 +119,20 @@ version number manually, autopilot will check that the number is a valid number

Also notice that when you update your release version number, autopilot will
automatically update the next development version number.


Command line options
--------------------

You can append `--help` to any command to get a description of the command.

.. command-output:: ap --help

.. command-output:: ap new --help

.. command-output:: ap release --help


The ``--type`` option is used to generate the next version number, but you can
always modify this number on the ncurses interface, before the new release is
created.
1 change: 1 addition & 0 deletions requirements.txt
Expand Up @@ -5,6 +5,7 @@ Sphinx
sphinx_rtd_theme
sphinxcontrib-napoleon
sphinxcontrib-spelling
sphinxcontrib-programoutput
pyenchant
tox
devpi-client
Expand Down

0 comments on commit 555e845

Please sign in to comment.