Skip to content

Commit

Permalink
chore: update tasks.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jnoortheen committed Dec 7, 2020
1 parent 695676f commit 453e673
Show file tree
Hide file tree
Showing 5 changed files with 37 additions and 37 deletions.
35 changes: 0 additions & 35 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,40 +76,6 @@ python test.py 100 param2
- `_namespace_` -> to get the output from the `ArgumentParser.parse_args()`
- `_arger_` -> to get the parser instance

# Similar Projects

## [argh](https://argh.readthedocs.io/en/latest/tutorial.html)

- has similar goals as to ease up using argparser.
- doesn't support type hints.
- No recent releases.

## [typer](https://github.com/tiangolo/typer)

- if you are using `click` , I highly recommend you to check this library.
- it is neat and many features are drawn from it.
- doesn't support loading help text for arguments from docstrings.

## [invoke](http://www.pyinvoke.org/)

- doesn't support type hints.

## [cliche](https://github.com/kootenpv/cliche)

- has similar goals.
- doesn't cover much use cases as `arger` .

## [cliar](https://moigagoo.github.io/cliar/)

- no docstring support for help argument.

# Recommended Alternatives

Projects that I highly recommend you to checkout.

1. [clize](https://github.com/epsy/clize)
2. [nuclear](https://github.com/igrek51/nuclear)
3. [defopt](https://github.com/anntzer/defopt)

This project was generated with [cookiecutter](https://github.com/audreyr/cookiecutter) using [jacebrowning/template-python](https://github.com/jacebrowning/template-python).

Expand All @@ -119,4 +85,3 @@ This project was generated with [cookiecutter](https://github.com/audreyr/cookie
* web-ui : https://github.com/nirizr/argparseweb
* extra actions : https://github.com/kadimisetty/action-hero
* automatic shell completions using [argcomplete](https://github.com/kislyuk/argcomplete)

File renamed without changes.
34 changes: 34 additions & 0 deletions docs/2-alternatives.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Similar Projects

## [argh](https://argh.readthedocs.io/en/latest/tutorial.html)

- has similar goals as to ease up using argparser.
- doesn't support type hints.
- No recent releases.

## [typer](https://github.com/tiangolo/typer)

- if you are using `click` , I highly recommend you to check this library.
- it is neat and many features are drawn from it.
- doesn't support loading help text for arguments from docstrings.

## [invoke](http://www.pyinvoke.org/)

- doesn't support type hints.

## [cliche](https://github.com/kootenpv/cliche)

- has similar goals.
- doesn't cover much use cases as `arger` .

## [cliar](https://moigagoo.github.io/cliar/)

- no docstring support for help argument.

# Recommended Alternatives

Projects that I highly recommend you to checkout.

1. [clize](https://github.com/epsy/clize)
2. [nuclear](https://github.com/igrek51/nuclear)
3. [defopt](https://github.com/anntzer/defopt)
File renamed without changes.
5 changes: 3 additions & 2 deletions tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def release(
msg = f"chore: bump version to {version_num}"

# tagging the current commit in order to place the name correct in the changelog
prun(f"git tag -a {version_num} -m {msg}")
prun(f"git tag {version_num}")

prun("git-changelog", ".", "-s", "angular", "-o", "CHANGELOG.md")
prun("git status")
Expand All @@ -73,7 +73,8 @@ def release(
# using force to move the tag to the latest commit.
prun(f"git tag {version_num} --force")

prun("git push --follow-tags")
prun("git push")
prun("git push --tags")


# @arger.add_cmd
Expand Down

0 comments on commit 453e673

Please sign in to comment.