1-liners-cli

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

Usage no npm install needed!

<script type="module">
  import LinersCli from 'https://cdn.skypack.dev/1-liners-cli';
</script>

README

1-liners cli

Screenshot of the CLI starting

Copy common util functions to clipboard, courtesy of 1-liners

Quick Start

$ npx 1-liners-cli

Keep It Around

$ 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 via stoeffel.