Skip to content

aayush1408/Copasty

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Copasty

A cli tool built on node.js that allows the user to copy the contents of a file to clipboard and paste it to the desired file from clipboard using a single command.

npm npm Codacy Badge

  • cross platform
  • works on mac,windows and linux
  • works with Command Prompt

Why copasty??

Suppose you want to copy the contents of the file and paste it to another file. The process to do the following will be like this (especially in windows)

  • Navigate to the file
  • Open it
  • ctrl + a
  • ctrl + c
  • Navigate to the file you want to paste the content in.
  • Open it
  • ctrl + v

Copasty way of handling it

  • copasty copy 'path-to-file'
  • copasty paste 'path-of-file'

Installation

Windows

npm i -g copasty

Linux

sudo npm i -g copasty

How to use?

Copy the content to the clipboard of a file using

copasty copy 'path-to-the-file'

Paste the content of the clipboard to a file using

copasty paste 'path-to-the-file'

For checking the version

copasty -V

For help

copasty --help

About

A cli tool built on node.js that allows the user to copy the contents of a file to the clipboard using a single command.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published