Metadata-Version: 2.1
Name: pyperclip-cli
Version: 0.1.2
Summary: Pyperclip CLI - cross-platform clipboard utility
Home-page: https://github.com/tddschn/pyperclip-cli
License: MIT
Keywords: clipboard,clipboard-cli,cli,pyperclip
Author: Xinyuan Chen
Author-email: 45612704+tddschn@users.noreply.github.com
Requires-Python: >=3.10,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Topic :: Utilities
Requires-Dist: pyperclip (>=1.8.2,<2.0.0)
Project-URL: Bug Tracker, https://github.com/tddschn/pyperclip-cli/issues
Project-URL: Repository, https://github.com/tddschn/pyperclip-cli
Description-Content-Type: text/markdown

# git pp

Pyperclip CLI - cross-platform clipboard utility

- [git pp](#git-pp)
  - [Features](#features)
  - [Installation](#installation)
    - [pipx](#pipx)
    - [pip](#pip)
  - [Usage](#usage)
  - [Develop](#develop)

## Features

- Copy and paste from stdin / stdout or files
- Cross-platform

## Installation

Currently only handles plaintext.

On Windows, no additional modules are needed.

On Mac, this module makes use of the pbcopy and pbpaste commands, which should come with the os.

On Linux, this module makes use of the xclip or xsel commands, which should come with the os. Otherwise run "sudo apt-get install xclip" or "sudo apt-get install xsel" (Note: xsel does not always seem to work.)

Otherwise on Linux, you will need the gtk or PyQt4 modules installed.

### pipx

This is the recommended installation method.

```
$ pipx install pyperclip-cli
```

### [pip](https://pypi.org/project/pyperclip-cli/)
```
$ pip install pyperclip-cli
```


## Usage

```
$ pyperclip --help

usage: pyperclip [-h] [-f FILE] [-o OUT] [ACTION]

Pyperclip CLI

positional arguments:
  ACTION                copy or paste (default: copy)

options:
  -h, --help            show this help message and exit
  -f FILE, --file FILE  Copy the content of the file (default: <_io.TextIOWrapper name='<stdin>' mode='r' encoding='utf-8'>)
  -o OUT, --out OUT     Paste to file (default: <_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>)
```

## Develop
```
$ git clone https://github.com/tddschn/pyperclip-cli.git
$ cd pyperclip-cli
$ poetry install
```
