Metadata-Version: 2.4
Name: clip-swap
Version: 0.1.0
Summary: Swap a file with the contents of the clipboard after the user approves a diff
License: MIT
Requires-Python: >=3.8
Description-Content-Type: text/markdown

# clip-swap
Swap a file with the contents of the clipboard after the user approves a diff.

This is unreviewed ai-generated code. But I use it.

## Motivation
Tools like claude code are nice. But sometimes I want to do some light coding in an LLM. I then use copy and paste to move code around. This adds a diff to this.

## Alternatives and prior work
Use `git diff` - but you might be feeliing extra lazy.

## Installation
pipx install clip-swap

## Usage
Copy the file contents

`clip-swap file`

## About

I am [@readwithai](https://x.com/readwithai). I make tools for reading and agency with and without Obsidian and AI. I also make a stream of small tools like this related to my work.

If you are interested in reading or note taking or Obsidian, check out my blog at [readwithai.substack.com](http://readwithai.substack.com/).

If you are interested in a stream of tools, you can [follow me on GitHub](https://github.com/talwrii) or [follow me on X](https://x.com/readwithai).
