ghrm

package module
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2020 License: MIT Imports: 3 Imported by: 0

README

ghrm: An alternative command to gh repo delete

release go report card license go version release

Install

Binary

Download from GitHub Releases.

Source
go get github.com/skmatz/ghrm/...

Usage

> ghrm --help

ghrm is the GitHub repository remover.

Usage:
  ghrm [flags]
  ghrm [command]

Available Commands:
  completion  Output shell completion (bash/fish/powershell/zsh)
  help        Help about any command
  token       Set GitHub personal access token
  version     Show version

Flags:
  -f, --force          skip confirmation
  -h, --help           help for ghrm
  -o, --owner string   owner name
  -r, --repo string    repository name
  -V, --version        show version

Use "ghrm [command] --help" for more information about a command.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGitHubClient

func NewGitHubClient(token string) *github.Client

NewGitHubClient returns a GitHub client.

func RemoveRepository

func RemoveRepository(gh *github.Client, owner, repo string) error

RemoveRepository removes a GitHub repository.

Types

This section is empty.

Directories

Path Synopsis
cmd
ghrm command

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL