collect-repos

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

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

Go to latest
Published: Aug 18, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

README

collect-repos

Install


git clone http://github.com/zoroqi/collect-repos
go install / go build

Usage

Usage of ./collect-repos:
  -branch string
    	commit branch
  -commitAuthor string
    	commit author (default "github-actions[bot]")
  -commitEmail string
    	commit email (default "41898282+github-actions[bot]@users.noreply.github.com")
  -config string
    	config
  -file string
    	commit file name
  -license string
    	license name, default username
  -repository string
    	update repository
  -token string
    	github token
  -username string
    	github username

config example

- name: zoroqi
  userType: user
  file: README.md
- name: google
  userType: org
  file: google.md
- name: apple
  userType: org
  file: apple.md

# userType: user or org
# user: collect starred
# org: collect repository

Demo

./collect-repos --username zoroqi > zoroqi-starred.md

Statistics

grep 'pushed_at' README.md | awk -F 'pushed_at' '{print $2}' | awk '{print $1}' | sort | uniq -c

grep 'pushed_at' README.md | awk -F 'pushed_at' '{print $2}' | awk -F '-' '{print $1}' | sort | uniq -c

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