PHP Classes

File: docs/_build/html/_sources/cli.rst.txt

Recommend this page to a friend!
  Classes of Francesco Danti  >  Sphinx PHP Doc RST  >  docs/_build/html/_sources/cli.rst.txt  >  Download  
File: docs/_build/html/_sources/cli.rst.txt
Role: Documentation
Content type: text/plain
Description: Documentation
Class: Sphinx PHP Doc RST
Generate Sphinx documentation from PHPDoc comments
Author: By
Last change:
Date: 2 years ago
Size: 931 bytes


Class file image Download
.. _cli:

Command line tool

API documentation can easily be generated with the shipped command line tool `phpdoc-to-rst`.

.. code::

      phpdoc-to-rst generate <target> [<src>]...

      target                Destination for the generated rst files
      src                   Source directories to parse

      -h, --help            Display this help message
      -q, --quiet           Do not output any message
      -V, --version         Display this application version
          --ansi            Force ANSI output
          --no-ansi         Disable ANSI output
      -n, --no-interaction  Do not ask any interactive question
      -v|vv|vvv, --verbose  Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug

      This command allows you to generate sphinx/rst based documentation from PHPDoc annotations.

For more information send a message to info at phpclasses dot org.