Skip to content

gaius-qi/cpo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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/config.fish

alias pwd "cpo pwd"

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

Test project

$ npm run test

Issues

License

MIT