common and useful terminal commands written in go
go install github.com/CiroLee/go-termts@latest
go-termts <command> [flags]
output LICENSE in an interactive way
shortcut for git commit -m, support zh(for Chinese) and en(for English) flags
open current git project in your default browser
download common used config files, support prettier
, commitlint
, vscode
(vscode-settings)
output the local ip
output alias from your .zshrc
file
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
list branches and switch to target in current repo in an interactive way. support remote branches and local branches
go-termts branch [--remote]/[-r]