Skip to content

Commit

Permalink
updates to classifiers, documentation, and removed cruft from tox.ini
Browse files Browse the repository at this point in the history
  • Loading branch information
knowsuchagency committed Jun 27, 2017
1 parent cf2c4a2 commit d437f6b
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 14 deletions.
29 changes: 28 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ninjadog


.. image:: https://img.shields.io/pypi/v/ninjadog.svg
:target: https://pypi.python.org/pypi/ninjadog
:target: https://pypi.org/project/ninjadog/

.. image:: https://img.shields.io/travis/knowsuchagency/ninjadog.svg
:target: https://travis-ci.org/knowsuchagency/ninjadog
Expand Down Expand Up @@ -152,6 +152,33 @@ template-rendering power.
<p>it's time to celebrate!</p>
<p>Don't stop believing</p>


Command Line Interface
----------------------
::

Usage:
ninjadog string [options] <string>
ninjadog file [options] <file>
ninjadog - [options]
ninjadog -h | --help
ninjadog --version


Options:
-h --help show help and exit
-V --version show version and exit
-f --file <file> the filepath to the template
-p --pretty pretty print output
-c --context <context> json string to be passed as context
-j --with-jinja render jinja2 syntax as well as pug
-v --verbose verbose output


Render pug templates to html.

Use "-" to read from stdin i.e. echo "h1 hello" | ninjadog -

How?
----

Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@
zip_safe=False,
keywords='ninjadog pug jinja2 html templating',
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'Development Status :: 4 - Beta',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Programming Language :: Python :: 3.4',
Expand Down
11 changes: 0 additions & 11 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@ envlist = py36, py35, py34
python =
3.6: py36

[testenv:flake8]
basepython=python
deps=flake8
commands=flake8 ninjadog

[testenv]
setenv =
PYTHONPATH = {toxinidir}
Expand All @@ -18,9 +13,3 @@ deps =
commands =
pip install -U pip
py.test --basetemp={envtmpdir}


; If you want to make tox run the tests with the same versions, create a
; requirements.txt with the pinned versions and uncomment the following lines:
; deps =
; -r{toxinidir}/requirements.txt

0 comments on commit d437f6b

Please sign in to comment.