UNPKG

1-liners-cli

Version:

CLI for copying code from "1-liners" project.

36 lines (24 loc) 988 B
# 1-liners cli <p align="center"> <img alt="Screenshot of the CLI starting" src="https://gist.githubusercontent.com/loklaan/41f5408d99832b9afc011abdb5c0b509/raw/c651c391fb44d6efcf6b487b2fb22c26ca829d17/1-liners-cli.png" width="700px" /> </p> <p align="center"> Copy common util functions to clipboard, courtesy of <a href="https://github.com/1-liners/1-liners"><strong><code>1-liners</code></strong></a> </p> ## Quick Start ```bash $ npx 1-liners-cli ``` ## Keep It Around ```bash $ npm install -g 1-liners-cli # Install globally $ 1-liners # Show a list of 1-liners $ 1-liners isFunction # Copy a function immediately $ 1-liners isFunction --print # Print to stdout instead of copy to clipboard ``` ## Legal ### license The MIT License (MIT) Copyright © Lochlan Bunn ### attribution "1-liners" source licensed MIT from [1-liners/1-liners](https://github.com/1-liners/1-liners) via [stoeffel](https://github.com/stoeffel).