cmd

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2024 License: MIT Imports: 25 Imported by: 0

Documentation

Index

Constants

View Source
const BRANCH_COMMIT = "list branches and switch to target in current repo in an interactive way"
View Source
const COMMIT_SHORT = "shortcut for git commit -m, support zh(for Chinese) and en(for English) flags"
View Source
const GITHUB_URL = "https://api.github.com/repos/CiroLee/my-config/contents/"
View Source
const LICENSE_SHORT = "Output common LICENSE"
View Source
const LICENSE_URL = "https://api.github.com/licenses"
View Source
const REPO_SHORT = "open current git project in your default browser"
View Source
const VERSION = "0.1.2"
View Source
const VERSION_SHORT = "Print the version number of go-termts"

Variables

This section is empty.

Functions

func Execute

func Execute()

Types

type CommitMsg

type CommitMsg struct {
	Type  string
	Value []string
}

type RepoInfo added in v0.0.8

type RepoInfo struct {
	Name          string `json:"name"`
	DefaultBranch string `json:"default_branch"`
}

type UserAndRepo added in v0.0.8

type UserAndRepo struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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