Skip to content

Commit

Permalink
release: v0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
notkearash committed Mar 2, 2023
1 parent 23fb03a commit 5a01e70
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
14 changes: 10 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,27 @@ That's it!
## Help message
```
$ ./pyrac -h
usage: pyrac [-h] [-u URL] [--https] [-m METHOD] [-d JSON] [--data-file FILE] [-r]
[--force-show-response] [--version]
____ _ _ ____ __ ___
( _ \( \/ )( _ \ / _\ / __)
) __/ ) / ) // \( (__
(__) (__/ (__\_)\_/\_/ \___)v0.2.0
[-h] [-u URL] [-H] [-m METHOD] [-d JSON] [-r] [-q] [--data-file FILE]
[--force-show-response] [--version]
Python RESTful API Client.
options:
-h, --help show this help message and exit
-u URL, --url URL (required) url of endpoint
--https sets your connection to https
-H, --https sets your connection to https
-m METHOD, --method METHOD
sets your connection method. [GET, POST, OPTIONS]
-d JSON, --data JSON data that want to be passed in json format
--data-file FILE data as a json file
-r, --allow-redirects
allows redirects
-q, --quiet quiet output (no messages)
--data-file FILE data as a json file
--force-show-response
shows response anyways
--version shows the version number
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ requires = ["setuptools>=61.0", "wheel", "requests"]
build-backend = "setuptools.build_meta"
[project]
name = "pyrac"
version = "0.1.0"
version = "0.2.0"
authors = [
{ name="Kearash", email="hi@kearash.io" },
]
Expand Down
2 changes: 1 addition & 1 deletion src/pyrac/rac.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from requests.exceptions import ConnectionError
from json.decoder import JSONDecodeError

__version__ = '0.1.0'
__version__ = '0.2.0'

def main():
try:
Expand Down

0 comments on commit 5a01e70

Please sign in to comment.