CLI utility to remove remove newlines, tabs from a file and copy it to your clipboard
Project description
cleanify
CLI utility to remove remove newlines, tabs from a file and copy it to your clipboard
- Pure 🐍 with only klembord used in the Tech Stack as a clipboard API
Installation
-
From PyPI (requires Python and PIP)
pip install cleanify
-
From source (requires Python)
- Clone this repository
- Start a terminal in the repository's folder
- Run
python setup.py install
- Run
Use
- In your terminal, type
cleanify --file {your filepath - relative OR absolute}
- The cleanified string will be copied to your clipboard
Supported Flags:
Flag | Required | Description |
---|---|---|
-file , -f |
true |
The path {relative or absolute} to the target file |
--repQuotes , --rq |
false |
Whether you want to replace double quotes with single ones (useful for HTML stored as JSON). Defaults to false |
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
cleanify-1.0.0.tar.gz
(3.4 kB
view hashes)
Built Distributions
cleanify-1.0.0-py3.9.egg
(3.9 kB
view hashes)