@hugoalh/github-manager

A CLI to provide a better way to manage GitHub.

Usage no npm install needed!

<script type="module">
  import hugoalhGithubManager from 'https://cdn.skypack.dev/@hugoalh/github-manager';
</script>

README

[NodeJS] GitHub Manager

hugoalh-studio/NodeJS.GitHubManager GitHub Language Count GitHub Top Langauge GitHub Repo Size GitHub Code Size GitHub Watcher GitHub Star GitHub Fork

A NodeJS CLI to provide a better way to manage GitHub.

License MIT
Release Latest: ()
Pre: ()
Release (NPM) Latest:
Pre:
Contributor
Issue :
Pull Request :
Code Quality CodeFactor Grade LGTM Alert LGTM Grade

📜 Description

🌟 Feature

Repository Local Storage Organization
Label: Add ✔ ✔
Label: Delete ✔ ✔
Label: Delete All ✔ ✔
Label: Delete Cross ✔ ✔
Label: List ✔ ✔
Label: Pull Merge ✔ ✔
Label: Push Merge ✔ ✔
Label: Replace ✔ ✔
Label: Reset ✔ ✔
Secret: Add ✔ ✔ ✔
Secret: Delete ✔ ✔ ✔
Secret: Delete All ✔ ✔ ✔
Secret: Delete Cross ✔ ✔ ✔
Secret: List Key only ✔ Key only
Secret: Pull Merge
Secret: Push Merge Import only Export only Import only
Secret: Replace Import only Export only Import only

âš  Important

  • ______ lock {password} and ______ unlock {password} are support multiple locks, please reverse locks order when unlock.
  • When using ______ lock {password} and ______ unlock {password} in any shell which has incrementally command history, please make sure to clear the command history afterward or otherwise this maybe exploit by malware.

📄 Documentation

For the official documentation, please visit GitHub Repository Wiki.

Getting Started (Excerpt)

NodeJS (>= v10.13) & NPM (>= v6.4.1):

# Use either one
> npm install -g @hugoalh/github-manager
> npm install --global @hugoalh/github-manager

CLI (Excerpt)

  • account limit
  • account lock {password}
  • account signin {token}
  • account signout
  • account unlock {password}
  • 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 {password}
  • localstorage unlock {password}
  • secret add {target} {name} {value}
  • secret delete {target} ...{name}
  • secret deleteall ...{target}
  • secret deletecross {name} ...{target}
  • secret list {target}
  • secret lock {password}
  • secret pushmerge ...{target}
  • secret replace ...{target}
  • secret unlock {password}