From 1e2d0967225446fe2d4da5c178ddf615dddffc0e Mon Sep 17 00:00:00 2001 From: rex <1073853456@qq.com> Date: Sat, 21 Oct 2023 21:35:58 +0800 Subject: [PATCH] update version and readme --- README.md | 29 +++++++++++++++++++++++++++++ askchat/__init__.py | 2 +- setup.py | 2 +- 3 files changed, 31 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index deaf46a..46601e8 100644 --- a/README.md +++ b/README.md @@ -6,3 +6,32 @@ Interact with ChatGPT in terminal via chattool + +## Installation + +```bash +pip install askchat +``` + +## Usage + +A simple way: +```bash +ask hello +``` + +Ask with more options via `askchat`: +```bash +# ask with a specific model +askchat hello -m "gpt-4" +``` + +Other options: +```bash +# current version +askchat -v +# Get debug log +askchat --debug +# get valid models +askchat --valid-models +``` \ No newline at end of file diff --git a/askchat/__init__.py b/askchat/__init__.py index bc667cb..f3c0b6b 100644 --- a/askchat/__init__.py +++ b/askchat/__init__.py @@ -2,6 +2,6 @@ __author__ = """Rex Wang""" __email__ = '1073853456@qq.com' -__version__ = '0.0.2' +__version__ = '0.0.3' from .askchat import ask \ No newline at end of file diff --git a/setup.py b/setup.py index 8d5e04f..e7075a2 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages -VERSION = '0.0.2' +VERSION = '0.0.3' with open('README.md') as readme_file: readme = readme_file.read()