CLI for PR Pilot, a text-to-task automation platform for Github.
Project description
Install | Documentation | Blog | Website
PR Pilot CLI
The PR Pilot CLI is a command-line interface tool designed to interact with the PR Pilot API. It allows users to quickly hand over work to PR Pilot from the command line.
Features
- Configuration Management: Automatically manages API key configuration by prompting the user to input their API key if not already configured.
- Task Creation: Users can create tasks by specifying a repository and a prompt. The CLI handles task creation and optionally waits for the result.
- Result Retrieval: If the
--wait
option is used, the CLI waits for the task to complete and displays the result directly in the terminal. - Dashboard Link: For tasks that are not awaited, the CLI provides a link to the task's dashboard for further monitoring.
Installation
Make sure you have PR Pilot installed in your repository
To install the CLI, run the following command:
pip install --upgrade pr-pilot-cli
By default, the CLI will prompt you to input your API key if it is not already configured.
Usage
After installation, open a terminal and ls
into a repository you have installed PR Pilot in and talk to PR Pilot:
pilot Translate the README file into German.
Options and Parameters
You can change the default settings with parameters and options:
Usage: pilot [OPTIONS] [PROMPT]...
Options:
--wait / --no-wait Wait for the result.
--repo TEXT Github repository in the format owner/repo.
--chatty Print more information.
--help Show this message and exit.
Configuration
The configuration file is located at ~/.pr-pilot.yaml
.
Contributing
Contributors are welcome to improve the CLI by submitting pull requests or reporting issues. For more details, check the project's GitHub repository.
License
The PR Pilot CLI is open-source software licensed under the GPL-3 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
Built Distribution
File details
Details for the file pr_pilot_cli-1.1.0.tar.gz
.
File metadata
- Download URL: pr_pilot_cli-1.1.0.tar.gz
- Upload date:
- Size: 16.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d9d42b4c00f4802b7f3093ff63dec646c61e613588342fca97555e3b750f10a |
|
MD5 | c51cf30c6d513d494d3701d124a5a92e |
|
BLAKE2b-256 | 4e912fed7b85d36c63efc5083805a218f25a91c824ad753f4338bb90b1c2d28e |
File details
Details for the file pr_pilot_cli-1.1.0-py3-none-any.whl
.
File metadata
- Download URL: pr_pilot_cli-1.1.0-py3-none-any.whl
- Upload date:
- Size: 17.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ec92079402fb272b838be690b49947a2f56b85e23c28e1f600c077c25fb9ac21 |
|
MD5 | 975a235ab9accbc257af28252603115f |
|
BLAKE2b-256 | 5e492002256ae0af6906f3dc8b6d395f6587fd622177b3186a31bb593b369f1a |