Categorygithub.com/artemrys/go-all-repos
modulepackage
0.1.1
Repository: https://github.com/artemrys/go-all-repos.git
Documentation: pkg.go.dev

# README

go-all-repos

With go-all-repos you can perform updates for all your repositories.

At the moment you can perform:

  • go fmt command (gofmt action)

Usage

To be able to push changes you need your Github access token which you can find here.

Run for all your repos

go run main.go -username artemrys -action gofmt -github-access-token <github-access-token>

Run for a particular repo

go run main.go -username artemrys -repos go-all-repos-demo -action gofmt -github-access-token <github-access-token>

Run in a dry run

Does not push changes and does not create a PR.

go run main.go -dry-run -username artemrys -repos go-all-repos-demo -action gofmt -github-access-token <github-access-token>