Named after the raccoon dog logo of GitLab. A tool for performing actions on GitLab repos or a single repo.
For installation instructions from binaries please visit the Releases Page.
$ go get github.com/roaldnefs/tanuki
$ tanuki -h
A tool for performing actions on GitLab repos or a single repo.
Usage:
tanuki [command]
Available Commands:
audit Audit members, branches, hooks, deploy keys etc.
help Help about any command
version Print the version number of Tanuki
Flags:
--config string config file (default is $HOME/.tanuki.yaml)
-d, --debug enable debug logging (default false)
--dry-run do not change settings just print the changes that would occur (default false)
-h, --help help for tanuki
-t, --token string GitLab API token
-u, --url string GitLab URL (default "https://gitlab.com/")
Use "tanuki [command] --help" for more information about a command.
Audit members, branches, hooks, deploy keys etc.
$ tanuki audit audit --token token --url https://gitlab.com/ --repository roaldnefs/tanuki
roaldnefs / tanuki ->
Members (1):
Owner (1):
roaldnefs
Maintainer (0):
Developer (0):
Reporter (0):
Guest (0):
Deloy Keys (2):
Read-only (1):
user@server
Read-write (1):
user@server
Visibility: private
Merge Method: merge
--
Tanuki will be easier to use if you provide a simple configuration file which help you eliminate providing a bunch of repeated information in flags over and over.
An example ~/.tanuki.yaml
file:
token: TOKEN
url: https://gitlab.example.com/