Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/cirolee/go-termts

common and useful terminal commands written in go
https://github.com/cirolee/go-termts

Last synced: 3 days ago
JSON representation

common and useful terminal commands written in go

Awesome Lists containing this project

README

        


banner

go-termts


> common and useful terminal commands written in go

## Install

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

## Usage

```shell
go-termts [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.

```shell
# help
go-termts dgit [--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

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