You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

cleanify

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cleanify

CLI utility to remove remove newlines, tabs from a file and copy it to your clipboard


Maintainers
1

Readme

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:

FlagRequiredDescription
-file, -ftrueThe path {relative or absolute} to the target file
--repQuotes, --rqfalseWhether you want to replace double quotes with single ones (useful for HTML stored as JSON). Defaults to false

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc