No project description provided
Project description
GPTask
GPTask is a command-line tool to leverage the power of GPT-4 to automatically format files according to specific prompts.
Installation
Download the package and install using pip:
pip install gptask
Usage
The binary of the package is gptask
. Here are some of the commands:
- To run the gptask on a specific file:
gptask -p your_prompt file
your_prompt
should be a prompt stored in ~/.gptask/prompts
.
- To run the gptask recursively on all files in a directory:
gptask -r your_directory -p your_prompt
- To force execution even if some conditions are not met:
gptask -f -p your_prompt file
If a prompt doesn't exist, GPTask will display available prompts.
For example:
gptask -p non_existent_prompt file
This will output:
Prompt non_existent_prompt not found
Available prompts:
prompt1
prompt2
...
Contribution
Contributions are welcomed! Feel free to open an issue or create a pull request.
License
This project is licensed under the MIT License.
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
gptask_cli-0.1.1.tar.gz
(4.7 kB
view hashes)
Built Distribution
Close
Hashes for gptask_cli-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 35aad730e0766ddd4323ab8ae2842d5030378d47ffeee04aaabc5708e1a4ec0d |
|
MD5 | 70f2d663f3318d7ee532a63f7ec6385b |
|
BLAKE2b-256 | f1a64386a85e34835f965e5ec893f7aa59a7ec52688bd3a80d5a961cbb4d09df |