Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/cirolee/go-termts
- Owner: CiroLee
- License: mit
- Created: 2023-10-18T07:03:44.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-09-05T04:50:56.000Z (2 months ago)
- Last Synced: 2024-10-11T10:51:47.587Z (26 days ago)
- Language: Go
- Size: 43 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
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]
```