Skip to content

This simple program copy github token from local file to clipboard. It gives you more fast using Git CLI

Notifications You must be signed in to change notification settings

AlGaRitm2020/copy_token

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

Copy token

This simple program copy github token from local file to clipboard. It gives you more fast using Git CLI

Dependencies

  • xclip available in package managers, such as apt, pacman

Installation

First way

  1. git clone https://github.com/AlGaRitm2020/copy_token
  2. cd copy_token
  3. mv copy_token /usr/bin/cptoken
  4. sudo chmod +x /usr/bin/cptoken

Second way

Add alias cptoken="cat ~/PATH/TO/YOUR/TOKEN/token | xclip -sel clip" to your shell config. If you are using bash, this file is ~/.bashrc

How to use

Run in terminal command cptoken and your token will be copied to clipboard

About

This simple program copy github token from local file to clipboard. It gives you more fast using Git CLI

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages