ghls

command module
v0.0.0-...-eaf8f76 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 25, 2023 License: MIT Imports: 15 Imported by: 0

README

ghls

ghls is a tool to display own github repositories written by golang.
cicleci license goversion

Installation

go get github.com/yanolab/ghls

Usage

$ ghls -h
Usage of ghls:
  -cleancache
    	clean cache
  -disablecache
    	caching is disable
  -p string
    	print value by paramters
  -u	get and update repositories cache
  -user string
    	target user

Usecases

Display the specific user repositories.

$ ghls -user golang -disablecache | head -n 5
golang/appengine
golang/arch
golang/benchmarks
golang/blog
golang/build

Display the specific user repositories with given names.

$ ghls -user golang -p stars,name -disablecache | sort -n -r | head -n 5
53212 go
11536 dep
7062 groupcache
4064 protobuf
3387 mobile

Combination with peco, fzf, hub.
Finding a repository with a fuzzy search and open its browser.

$ ghls -user golang -p fullname,description -disablecache | fzf | awk '{print $1}' | xargs hub browse

demo

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL