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
Basic Usage
Default Behavior
- Run
promptifyto interactively select files and generate markdown for your clipboard - Supports
.promptignorefiles (works like.gitignore) - Offers to add a basic
.promptignoreif none is found at project root. (First time only) - 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-dINTEGER Max directory depth (0=root only) 4--path-pDIRECTORY Starting directory path CWD --clear-stateClear previous selections --install-completionInstall shell completion --show-completionShow shell completion --helpShow 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
```
Development
This package is self-contained in 1 file at src/promptify/cli.py. It's in a state that the UI and features meet my needs, but if you wish to modify the functionality, add more args, etc. drop me a github issue (slow response time) or feel free to submit a merge request!
Metadata
Release files for promptify-cli 0.1.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| promptify_cli-0.1.8.tar.gz | 12.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| promptify_cli-0.1.8-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 24.0 kB
Release files / promptify_cli-0.1.8.tar.gz
| Download URL | promptify_cli-0.1.8.tar.gz |
|---|---|
| Size | 12.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
25c1e23e04889558b6913b01fcc1f49129298be6ae537c270b42ca55dbb6ef72
|
|
BLAKE2b-256 checksum How to use checksums |
5ba2e78ce571f9cac1285a6271e2c0e9ce50637f816890bdc778e21dadaf9e76
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.1
|
Release files / promptify_cli-0.1.8-py3-none-any.whl
| Download URL | promptify_cli-0.1.8-py3-none-any.whl |
|---|---|
| Size | 11.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
99791b2912419e71b64de95df1989b3c7afd4d71d28b06ca7178172620c6c33b
|
|
BLAKE2b-256 checksum How to use checksums |
2e2ee8bf0d5c21f13c3a4176bc4ff590c09520fe636891416ab2c4fad48cf60e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.1
|