go-termts

command module
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: 1 Imported by: 0

README

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]

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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