pull
A clipboard-first CLI tool designed for rapid "grab → paste → think" development loops.
Overview
Pull is deliberately opinionated: it moves useful content into your clipboard, fast. It is designed specifically for AI/LLM workflows, static-site tooling, and rapid iteration.
üìã Clipboard-First
No need to pipe to `pbcopy` or `xclip`. The clipboard is the default destination.
üö´ Git Aware
Automatically respects `.gitignore` rules when recursively pulling directories.
Installation
Install directly via Go:
go install github.com/phillip-england/pull@latest
Files & Directories
Pull recursively reads files and directories, cleaning up empty lines and adding headers for context.
pull main.go
pull src/ components/
Note: By default, ignored files (like `node_modules` or `.env`) are skipped. Use --includeIgnore to force inclusion.
Fetching URLs
You can pull the raw HTML/text body of a URL directly into your clipboard.
pull href github.com/phillip-england
pull href https://example.com docs.bun.sh
Append & Prepend
Instead of overwriting your clipboard, you can add context to what is already there. This is extremely useful for building complex prompts for LLMs.
| Flag | Description |
|---|---|
--append |
Adds the new content after the current clipboard contents. |
--prepend |
Adds the new content before the current clipboard contents. |
Example: Pulling source code and a webpage into one payload.
pull src/handlers
pull --append href example.com
Output Options
Emit (Stdout)
If you want to pipe the content elsewhere instead of the clipboard, use `emit`.
pull emit | sed 's/foo/bar/' | pbcopy
Write to File
Dump the current clipboard contents directly to a file.
pull write output.txt
MIT License © 2026 Phillip England
View on GitHub