No project description provided
Project description
ChatFAQ Command Line Interface (CLI) Tool
The full potential of ChatFAQ services, datasets, and models at the tip of your fingers.
Prerequisites
Make sure the next list of packages are installed on your system:
- Python 3.10
- poetry
Installation
Local build
poetry install
PYPI
pip install chatfaq-cli
Usage
First of all you should configure the remote target server:
chatfaq config host <REMOTE_ADRESS>
Then you can log in into the remote server:
chatfaq config auth <TOKEN>
You can retrieve the auth token from the backend server:
curl -X POST -u username:password http://localhost:8000/back/api/login/
by using an admin's user and password.
Commands
chatfaq --help
Publish package
PYPI test
add repository to poetry config
poetry config repositories.chatfaq-cli https://test.pypi.org/legacy/
get token from https://test.pypi.org/manage/account/token/
store token using
poetry config pypi-token.chatfaq-cli pypi-YYYYYYYY
PYPI production
get token from https://pypi.org/manage/account/token/
store token using
poetry config pypi-token.chatfaq-cli pypi-XXXXXXXX
Each time you need to publish
Bump version
poetry version prerelease
or
poetry version patch
Poetry Build
poetry build
Poetry Publish
To TestPyPi
poetry publish -r chatfaq-cli
To PyPi
poetry publish
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file chatfaq_cli-0.1.9.tar.gz
.
File metadata
- Download URL: chatfaq_cli-0.1.9.tar.gz
- Upload date:
- Size: 9.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.6.1 CPython/3.8.10 Linux/5.14.0-1059-oem
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 916dabfa4948ad7ca72c6d9bac70c277ea9f72d281b62340469fe25f320d7a47 |
|
MD5 | 2411d1720059b6751f9104d154ec9672 |
|
BLAKE2b-256 | 0af7d5c7073d2aefbfe0170b3e791ea1646c72d01f8c14ccaa76c1f2237a4fe8 |
File details
Details for the file chatfaq_cli-0.1.9-py3-none-any.whl
.
File metadata
- Download URL: chatfaq_cli-0.1.9-py3-none-any.whl
- Upload date:
- Size: 16.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.6.1 CPython/3.8.10 Linux/5.14.0-1059-oem
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 227984a15383e0c48773dabb2f3dc8396627fb3f7703fe069af7177d7189cc4c |
|
MD5 | 2370051a90eb22170f6794c3ad238a09 |
|
BLAKE2b-256 | 50cc194bf5a6eade31d5f4ed62485deb5c87aaa13ff435d2a90ead617a944321 |