Skip to content

devappmin/ghlog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

10 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Unofficial GitHub Cli Tool

Generic badge

ghlog is the unofficial GitHub CLI tool that contains the most-used functions on GitHub.

code

Getting Started.

  1. Build ghlog using go by the below command.
$ go build ghlog.go
  1. Move your application to wherever your want, like /usr/bin on Linux or C:/Program Files/ghlog on Windows, and add the environment path of the ghlog.

  2. Start your ghlog using the below command.

$ ghlog
  1. If login is required, you have to login with your user id and access token.

It will be saved on .auth file in Home Directory.

Commands that you can play with.

repo/org

You can print all of your repositories using the below command.

$ ghlog repo

Likes repo, in addition, you can also print all organizations you joined using the below command.

$ ghlog org

create repo

It is also possible to create a new repository using the following command.

$ ghlog create repo

It will ask you about Repository name and Visibility of your repository.

heatmap

Heatmap prints a GitHub contribution chart that you can see on your GitHub profile in command-line interface.

You can simply print your heatmap with the below command.

$ ghlog heatmap

You can also check other users' heatmap just by adding username.

$ ghlog heatmap devappmin

search

You can even search repositories from GitHub!

$ ghlog search <query> [from] [to]

Libraries

Go Query

go-github

oauth2

term

License

MIT License

Copyright (c) 2022 Kim Seung Hwan

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

About

๐Ÿ’– Unofficial Github Cli

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages