Add your description here
Project description
Prompt Directory (pd)
A command-line tool for managing and using prompts from a GitHub repository.
Installation
uv install promptdir
Usage
Interactive Mode
# Run with default configuration in interactive mode
promptdir
# Run with specific repository
promptdir --repo username/repository
# Skip SSH agent setup
promptdir --no-ssh
Command-line Mode
# List all available snippets
promptdir list
# Read a snippet
promptdir read user/snippet
# Write content to a snippet
promptdir write snippet --content "Your content here"
# Fork a snippet from another user
promptdir fork user/snippet
# Edit a snippet in your default editor
promptdir edit snippet
# Copy a snippet to clipboard
promptdir copy user/snippet
# Copy and hydrate a template
promptdir copy user/template --hydrate --name="John" -- Additional text
# Sync repository with remote
promptdir sync
# Create a new snippet file
promptdir new filename
# Direct template hydration
promptdir template_name --param1="value1" -- Additional text
Configuration
PD stores its configuration in ~/.config/pd/config.json. You can edit this file directly or use the --config flag to update settings interactively.
Main configuration options:
prompt_repo: GitHub repository containing prompts (format:username/repository)
SSH Keys
Prompt Directory will automatically set up SSH agent and attempt to add common SSH keys when connecting to GitHub. This behavior can be disabled with the --no-ssh flag.
License
MIT
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file promptdir-0.3.0.tar.gz.
File metadata
- Download URL: promptdir-0.3.0.tar.gz
- Upload date:
- Size: 18.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
59ec30a97870c6a8a4c72323a4820bbf42b54c389ca7f541e5d8e4d1e17d121f
|
|
| MD5 |
f1b5eac18b7def8913bf62aa07098c7a
|
|
| BLAKE2b-256 |
8755f608b84baaec06b754aef781fcf0bc5bcf460801279907c28a05096ae904
|
File details
Details for the file promptdir-0.3.0-py3-none-any.whl.
File metadata
- Download URL: promptdir-0.3.0-py3-none-any.whl
- Upload date:
- Size: 19.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
23ad78d5902bb35ef0e495b44b81777cb298269c5fc61be6c4ef2404f552bae8
|
|
| MD5 |
bf9f9cf2c5412eaa60f4f3b01fa9a76b
|
|
| BLAKE2b-256 |
a25ba7d15c5c6016ffb19676f3e9bd9690dc40c04223fc91fb3f99fbdbd192c7
|