Skip to main content

A utilty to flatten your source code directory into a single file for LLM usage

Project description

Here's a README for your project:


Pancake

Pancake is a command-line tool for listing and optionally cleaning up files in a directory.

Installation

You can install Pancake via pip:

pip install pancake

Usage

Pancake provides various options for listing and cleaning up files in a directory.

pancake --dir <directory_path> [--compress] [--output <output_file>] [--php] [--js] [--py] [--c] [--cpp] [--tree]

Options

  • --dir: Specify the directory to list files from (required).
  • --compress: Clean up files by removing unnecessary whitespace (optional).
  • --output: Specify the output file path (default: stdout).
  • --php, --js, --py, --c, --cpp: Include specific file types in the listing (optional).
  • --tree: Print the directory tree at the beginning of the output (optional).

Examples

List files in a directory and include PHP files:

pancake --dir /path/to/directory --php

Clean up files in a directory and save the output to a file:

pancake --dir /path/to/directory --compress --output output.txt

List files in a directory, include JavaScript and Python files, and print the directory tree:

pancake --dir /path/to/directory --js --py --tree

License

This project is licensed under the BSD 3-Clause License - see the LICENSE file for details.


You might need to provide additional information about the project's dependencies, how to contribute, or any other relevant details depending on your specific project requirements.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

flort-0.1.tar.gz (3.3 kB view details)

Uploaded Source

File details

Details for the file flort-0.1.tar.gz.

File metadata

  • Download URL: flort-0.1.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.6

File hashes

Hashes for flort-0.1.tar.gz
Algorithm Hash digest
SHA256 304accc82f5457924226c0db191956900f664e7bd9b8e21f966bea3e7b984814
MD5 e8b5bf4ef141bfda22f24a7f0d0b2a29
BLAKE2b-256 c392633d07d96f410a81834cf8d977efb5634193ec5f50cee53c13364082dbbe

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page