Skip to main content

Interactive CLI select files, generate markdown suitable for LLM prompts, and copy it to the clipboard.

Project description

Promptify CLI

An interactive CLI to select files, generate markdown suitable for LLM prompts, and copy it to the clipboard.

Installation

pip install promptify-cli

Demo

Promptify CLI Demo

Basic Usage

Default Behavior

  • Run promptify to interactively select files and generate markdown for your clipboard
  • Supports .promptignore files (works like .gitignore)
  • Includes a file tree to depth 4, excluding ignored files
  • Selected files (highlighted green) are md-formatted
  • Shows LOC and GPT-4o token counts as you use the UI

Help

promptify --help
Option Short Type Description Default
--depth -d INTEGER Max directory depth (0=root only) 4
--path -p DIRECTORY Starting directory path CWD
--clear-state Clear previous selections
--install-completion Install shell completion
--show-completion Show shell completion
--help Show help message and exit

Example Output (Copied to Clipboard)

Project Structure (Depth: 4):

```
example_documentation_project/
├─ foobar/
│  └─ bar.py
├─ foo.py
└─ output.md
```

---

## File: `foo.py`

```python
def foo(bar):
    return bar

```

---

## File: `foobar/bar.py`

```python
def bar(foo):
    return foo

```

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

promptify_cli-0.1.3.tar.gz (11.4 kB view details)

Uploaded Source

Built Distribution

promptify_cli-0.1.3-py3-none-any.whl (10.3 kB view details)

Uploaded Python 3

File details

Details for the file promptify_cli-0.1.3.tar.gz.

File metadata

  • Download URL: promptify_cli-0.1.3.tar.gz
  • Upload date:
  • Size: 11.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for promptify_cli-0.1.3.tar.gz
Algorithm Hash digest
SHA256 c4aba7210a958767631efb550b5230f8919d4be830601c167f78c8bd9e7d56ce
MD5 f73c17150fca184d4bbb6cffb3b407f6
BLAKE2b-256 1b27834050d6cda3e1fe520d276019a3a17fed84c2405e823226a50b4b8f0891

See more details on using hashes here.

File details

Details for the file promptify_cli-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: promptify_cli-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 10.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for promptify_cli-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e5b911761bfb7a1426cf4f3148e521359f9aa8ee98773701a9ea19e0b2c76edf
MD5 06884d4427e666b24ad6fd9e73d6d5f7
BLAKE2b-256 e93856c76e75bb1e51d94dae9e7f9641929a36fc6806dd50ceb8de0fb56092c2

See more details on using hashes here.

Supported by

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