Skip to content

common and useful terminal commands written in go

License

Notifications You must be signed in to change notification settings

CiroLee/go-termts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

banner

go-termts

common and useful terminal commands written in go

Install

go install github.com/CiroLee/go-termts@latest

Usage

go-termts <command> [flags]

Features

license

output LICENSE in an interactive way

commit

shortcut for git commit -m, support zh(for Chinese) and en(for English) flags

repo

open current git project in your default browser

config

download common used config files, support prettier, commitlint, vscode(vscode-settings)

ip

output the local ip

alias

output alias from your .zshrc file

dgit

download github repository. support custom branch and custom path. default branch is repo's default branch and default path is current directory.

# help
go-termts dgit <repo> [--branch] [--dst]
# example
go-termts dgit https://github.com/CiroLee/go-termts --branch=main --dst=demo

branch

list branches and switch to target in current repo in an interactive way. support remote branches and local branches

go-termts branch [--remote]/[-r]

About

common and useful terminal commands written in go

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages