Metadata-Version: 2.1
Name: kopipasta
Version: 0.1.0
Summary: A CLI tool to generate prompts with project structure and file contents
Home-page: https://github.com/mkorpela/kopipasta
Author: Mikko Korpela
Author-email: mikko.korpela@gmail.com
License: MIT
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: pyperclip ==1.9.0

# 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.
