Skip to main content

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

  1. From PyPI (requires Python and PIP) pip install cleanify

  2. From source (requires Python)

    1. Clone this repository
    2. Start a terminal in the repository's folder
      1. Run python setup.py install

Use

  1. In your terminal, type cleanify --file {your filepath - relative OR absolute}
  2. 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


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)

Uploaded Source

Built Distributions

cleanify-1.0.0-py3.9.egg (3.9 kB view hashes)

Uploaded Source

cleanify-1.0.0-py3-none-any.whl (3.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page