1.0.1 • Published 2 years ago
@hugoalh/github-manager-cli v1.0.1
GitHub Manager CLI (NodeJS)
Releases | Latest () | Pre () |
---|---|---|
📝 Description
A NodeJS CLI to provide a better way to manage GitHub.
For the official CLI, please visit the GitHub CLI.
🌟 Feature
Command | Repositories | Storages | Organizations * |
---|---|---|---|
label add | ✔ | ✔ | |
label delete | ✔ | ✔ | |
label delete-all | ✔ | ✔ | |
label delete-cross | ✔ | ✔ | |
label list | ✔ | ✔ | |
label pull-merge | ✔ | ✔ | |
label pull-replace | ✔ | ✔ | |
label push-merge | ✔ | ✔ | |
label push-replace | ✔ | ✔ | |
label reset | ✔ | ✔ | |
secret add | ✔ | ✔ | ✔ |
secret delete | ✔ | ✔ | ✔ |
secret delete-all | ✔ | ✔ | ✔ |
secret delete-cross | ✔ | ✔ | ✔ |
secret list | Keys only | ✔ | Keys only |
secret push-merge | As target only | As source only | As target only |
secret push-replace | As target only | As source only | As target only |
*: GitHub API does not support organizations' labels.
⚠ Important
- Storage encryption supports multiple encryptions, please reverse encryptions' order when decryption.
- When using in any shell which has incrementally command history, please make sure to clear the command history afterward or otherwise passphrase and/or token maybe exploit by malware.
📚 Documentation (Excerpt)
For the full documentation, please visit the GitHub Repository Wiki.
Getting Started
Install
- NodeJS >= v10.13.0
npm install --global @hugoalh/github-manager-cli
Use
# Either
gh-manager
ghm
ghmanager
github-manager
CLI
account limit
account lock {passphrase}
account signin {token}
account signout
account unlock {passphrase}
account whoami
label add {target} {name} {color} [description]
label delete {target} ...{name}
label deleteall ...{target}
label deletecross {name} ...{target}
label list {target}
label pullmerge {target} ...{source}
label pushmerge {source} ...{target}
label replace {source} ...{target}
label reset ...{target}
localstorage lock {passphrase}
localstorage unlock {passphrase}
secret add {target} {name} {value}
secret delete {target} ...{name}
secret deleteall ...{target}
secret deletecross {name} ...{target}
secret list {target}
secret lock {passphrase}
secret pushmerge ...{target}
secret replace ...{target}
secret unlock {passphrase}
1.0.1
2 years ago