cpo

Quick copy command output tool

Usage no npm install needed!

<script type="module">
  import cpo from 'https://cdn.skypack.dev/cpo';
</script>

README

cpo


NPM version build status Test coverage node version npm download

Copy command output to clipboard.

Introduction

Quick copy command output tool.

Install

$ npm i cpo -g

Usage

Copy pwd output to clipboard.

$ cpo pwd

Command alias

Use cpo to assist the pwd command.

bash

Add alias in your ~/.bash_profile

alias pwd="cpo pwd""

zsh

Add alias in your ~/.zshrc

alias pwd="cpo pwd"

fish

Add alias in your config.fish

alias pwd "cpo pwd"

After adding alias, you can use the pwd command after cpo assist.

Test project

$ npm run test

Contributors

License

MIT