https://github.com/roaldnefs/tanuki
A tool for performing actions on GitLab repos or a single repo.
https://github.com/roaldnefs/tanuki
gitlab gitlab-api gitlab-ce
Last synced: about 1 year ago
JSON representation
A tool for performing actions on GitLab repos or a single repo.
- Host: GitHub
- URL: https://github.com/roaldnefs/tanuki
- Owner: roaldnefs
- License: mit
- Created: 2018-10-03T07:11:10.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-11-13T18:47:59.000Z (over 7 years ago)
- Last Synced: 2025-04-05T09:34:25.101Z (about 1 year ago)
- Topics: gitlab, gitlab-api, gitlab-ce
- Language: Go
- Homepage:
- Size: 56.6 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README

[](https://travis-ci.org/roaldnefs/tanuki)
[](https://godoc.org/github.com/roaldnefs/tanuki)
[](https://github.com/roaldnefs/tanuki/releases)
Named after the raccoon dog logo of GitLab. A tool for performing actions on GitLab repos or a single repo.
* [Installation](README.md#installation)
* [Binaries](README.md#binaries)
* [Via Go](README.md#via-go)
* [Usage](README.md#usage)
* [Audit](README.md#audit)
* [Configuration](README.md#configuration)
## Installation
### Binaries
For installation instructions from binaries please visit the [Releases Page](https://github.com/roaldnefs/tanuki/releases).
### Via Go
```console
$ go get github.com/roaldnefs/tanuki
```
## Usage
```console
$ 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
Audit members, branches, hooks, deploy keys etc.
```console
$ 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
--
```
## Configuration
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:
```yaml
token: TOKEN
url: https://gitlab.example.com/
```