Go to file
Evan Chen b6b0774531
continuous-integration/drone/tag Build is passing Details
feat: start new cmd with custom args in ?cmd=
2021-11-18 13:54:29 +08:00
cmd/gterm feat: start new cmd with custom args in ?cmd= 2021-11-18 13:54:29 +08:00
public feat: start new cmd with custom args in ?cmd= 2021-11-18 13:54:29 +08:00
.drone.yml update 2021-11-17 02:04:21 +08:00
.gitignore update 2021-11-17 02:04:21 +08:00
README.md docs: update usage prompt 2021-11-18 11:10:35 +08:00
build.sh docs: update usage prompt 2021-11-18 11:10:35 +08:00
go.mod feat: start new cmd with custom args in ?cmd= 2021-11-18 13:54:29 +08:00
go.sum feat: start new cmd with custom args in ?cmd= 2021-11-18 13:54:29 +08:00
gterm.go feat: start new cmd with custom args in ?cmd= 2021-11-18 13:54:29 +08:00
index.html update 2021-11-17 02:04:21 +08:00
main.js feat: start new cmd with custom args in ?cmd= 2021-11-18 13:54:29 +08:00
make.sh build: make nocgo default 2021-11-18 10:51:41 +08:00
package.json update 2021-11-17 02:04:21 +08:00
profile chore: update profile 2021-11-18 11:24:49 +08:00
util.go fix: rotate back to 1 shell count 2021-11-17 12:48:10 +08:00
yarn.lock update 2021-11-16 23:57:32 +08:00

README.md

gterm

Usage

Usage: gterm [options]
  -addr string
        address to bind (default ":8000")
  -allow string
        restrict ip
  -arg value
        additional args to pass to cmd, multiple args can be passed, ex. -arg a -arg b
  -dev
        set the system to development mode
  -dir string
        the working dir that the shell will start from
  -log-level int
        log level, error:1 debug:2 warn:4 info:8 (default 9)
  -name string
        the application name (default "gterm")
  -profile
        print default profile, could be invoked with <(..)
  -shell string
        the shell to use (default "bash")
  -v    show version

run bash with default profile

gterm -arg "--rcfile" -arg <(gterm -profile)

Install

sudo rm -f /usr/local/bin/gterm
sudo sh -c "curl -fsSL RELEASE_URL | tar -C /usr/local/bin/ -xz"