Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

cpo

gaius-qi22MIT1.0.4

Quick copy command output tool

copy, command, cli, cp, cpo

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