Skip to content

Commit

Permalink
bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
vanyakosmos committed Oct 28, 2019
1 parent d633499 commit 5f179bf
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test-publish.yml
Expand Up @@ -5,7 +5,7 @@ on: [push]
jobs:
test:
# only test current event if it is not version bump or version bump and has release tag
if: startsWith(github.ref, 'refs/tags/v') || github.event.message != 'bump version'
if: startsWith(github.ref, 'refs/tags/v') || !startsWith(github.event.message, 'bump version')
runs-on: ${{ matrix.os }}
strategy:
max-parallel: 4
Expand Down
16 changes: 9 additions & 7 deletions README.md
@@ -1,19 +1,20 @@
# argser

[![PyPI version](https://badge.fury.io/py/argser.svg)](http://badge.fury.io/py/argser)
[![Build Status](https://github.com/vanyakosmos/argser/workflows/test-publish/badge.svg)](https://github.com/vanyakosmos/argser/actions?workflow=build)
[![Build Status](https://github.com/vanyakosmos/argser/workflows/test-publish/badge.svg)](https://github.com/vanyakosmos/argser/actions?workflow=test-publish)
[![Coverage](https://codecov.io/gh/vanyakosmos/argser/branch/master/graph/badge.svg)](https://codecov.io/gh/vanyakosmos/argser)
[![License](https://img.shields.io/github/license/mashape/apistatus.svg)](https://pypi.python.org/pypi/argser/)
[![Downloads](https://pepy.tech/badge/argser)](https://pepy.tech/project/argser)

[GitHub](https://github.com/vanyakosmos/argser) |
[PyPI](https://pypi.org/project/argser/) |
[Docs](https://argser.readthedocs.io/en/latest) |
[Examples](https://argser.readthedocs.io/en/latest/examples.html)
[Examples](https://argser.readthedocs.io/en/latest/examples.html) |
[Changelog](CHANGELOG.md)

Arguments parsing without boilerplate.

Features:
## Features:
- arguments and type hints in IDE
- easy nested sub-commands
- sane defaults for arguments' params (ie if default of arg is 3 then type should be int, or when annotation/type/default is `bool` then generate 2 arguments: for true value `--arg` and for false `--no-arg`, ...)
Expand All @@ -23,9 +24,8 @@ Features:
- auto shortcuts generation: `--verbose -> -v, --foo_bar -> --fb`
- [auto completion](https://argser.readthedocs.io/en/latest/examples.html#auto-completion) in shell (tnx to [argcomplete](https://argcomplete.readthedocs.io/en/latest/))

------

## install
## Installation

```text
pip install argser
Expand All @@ -34,7 +34,8 @@ pip install argser[argcomplete] # for shell auto completion
pip install argser[all]
```

## simple example

## Simple example

```python
from argser import parse_args
Expand Down Expand Up @@ -84,7 +85,8 @@ optional arguments:
int, default: 1.
```

## sub commands

## Sub-commands

```python
from argser import parse_args, sub_command
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
@@ -1,6 +1,6 @@
[tool.poetry]
name = "argser"
version = "0.0.10"
version = "0.0.11"
description = "Arguments parsing without boilerplate."
authors = ["Bachynin Ivan <bachynin.i@gmail.com>"]
license = "MIT"
Expand Down

0 comments on commit 5f179bf

Please sign in to comment.