A CLI tool to generate prompts with project structure and file contents
Project description
kopipasta
A CLI tool to generate prompts with project structure and file contents.
Installation
You can install kopipasta using pipx (or pip):
pipx install kopipasta
Usage
To use kopipasta, run the following command in your terminal:
kopipasta [files_or_directories]
Replace [files_or_directories]
with the paths to the files or directories you want to include in the prompt.
Example:
kopipasta . src/ config.json
This will generate a prompt including the project structure and contents of the specified files and directories, ignoring files and directories typically excluded in version control (based on common .gitignore patterns).
The generated prompt will be displayed in the console and automatically copied to your clipboard.
Features
- Generates a structured prompt with project overview, file contents, and task instructions
- Ignores files and directories based on common .gitignore patterns
- Allows interactive selection of files to include
- Automatically copies the generated prompt to the clipboard
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
Built Distribution
Hashes for kopipasta-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd2e9c272c83913dc2fa2cfcbb1b44a733c413bcacb04cede03f4e76cc9ee28f |
|
MD5 | f6ca165ebbfce0b4e54a64ff98a139a4 |
|
BLAKE2b-256 | 86c7daf19438109e4ffed53bb0208e1e029f30d4130b3337699a004d055122b7 |