Skip to content

Commit

Permalink
bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
vanyakosmos committed Oct 18, 2019
1 parent dafcbb3 commit 7053b26
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 7 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class Args:
bar: bool


args = parse_args(Args)
args = parse_args(Args, show=True)
```

<details>
Expand All @@ -63,7 +63,7 @@ print(args)
</details>

```text
python playground.py -a "aaa bbb" -f 100500 --no-b
python playground.py -a "aaa bbb" -f 100500 --no-b
>> Args(bar=False, a='aaa bbb', foo=100500)
```

Expand Down
1 change: 0 additions & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@
apidoc_output_dir = 'modules'
apidoc_excluded_paths = [
'consts.py',
'utils.py',
'logging.py',
]
apidoc_separate_modules = True
Expand Down
6 changes: 3 additions & 3 deletions docs/source/examples.rst
Original file line number Diff line number Diff line change
Expand Up @@ -118,13 +118,13 @@ Actions
Auto completion
**************
***************

Check out argcomplete_.

.. _argcomplete: https://argcomplete.readthedocs.io/en/latest

Add autocomplete:
Add autocompletes:

.. code-block::
Expand All @@ -134,6 +134,6 @@ Add autocomplete:
# using argser
eval "$(argser auto)" # for all scripts with PYTHON_ARGCOMPLETE_OK (in current dir)
eval "$(argser auto foo.py)" # specific file
eval "$(argser auto /path/to/dir)" # for all scripts with PYTHON_ARGCOMPLETE_OK in /path/to/dir
eval "$(argser auto /path/to/dir)" # for all scripts (with PYTHON_ARGCOMPLETE_OK) in /path/to/dir
eval "$(argser auto /path/to/dir foo.py)" # combine
eval "$(argser auto --no-mark)" # add autocomplete to every script
1 change: 1 addition & 0 deletions docs/source/modules/argser.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Submodules
argser.display
argser.fields
argser.parser
argser.utils

Module contents
---------------
Expand Down
7 changes: 7 additions & 0 deletions docs/source/modules/argser.utils.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
argser.utils module
===================

.. automodule:: argser.utils
:members:
:undoc-members:
:show-inheritance:
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "argser"
version = "0.0.8"
version = "0.0.9"
description = "Arguments parsing without boilerplate."
authors = ["Bachynin Ivan <bachynin.i@gmail.com>"]
license = "MIT"
Expand Down

0 comments on commit 7053b26

Please sign in to comment.