ghrm

package module
v0.1.0 Latest Latest
Warning

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

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

README

GitHub Remove Repository

release go report card license go version release

Install

Binary

Download from GitHub Releases.

Source
go get github.com/skmatz/github-remove-repository/...

Usage

> ghrm skmatz github-remove-repository
> 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       Prompt for the GitHub access token
  version     Show version

Flags:
  -f, --force     skip confirmation
  -h, --help      help for ghrm
  -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

Jump to

Keyboard shortcuts

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