gistar

command module
v0.0.0-...-65d8a2d Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2018 License: MIT Imports: 7 Imported by: 0

README

gistar

A golang tool to fetch a list of your starred repositories on Github, and output it to a markdown document. Inspired by starred and repogen.

Usage

go get github.com/fralonra/gistar

A basic example:

gistar username > output.md

This will generate an output.md with all your starred repositories inside.

Flags
Flag Description Type Default
-d Hide description. bool false
-f Hide forks. bool false
-l Hide language. bool false
-s Hide stars. bool false
-w Hide watches. bool false
-sort How to sort the repository list. Available values: 'created', 'updated', 'pushed', 'full_name' and 'lang'. The first four values are options for go-github. By default, the value is lang, and it will sort repositories by their top language. string 'lang'
-stl Badget styles. Available values: 'flat', 'flat-square', 'for-the-badget', 'plastic' and 'social'. See here for more infomation. string 'flat'
gistar -f -l -s -w username > output.md

The above command will generate a file with only description for the repository.

Example

gistar fralonra > README.md

You can check the output README.md here.

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