Go to file
Evan Chen ddf5e86cbc build: add s390x arch 2021-12-29 14:15:27 +08:00
cmd/gterm fix: #4 2021-11-19 17:19:50 +08:00
public fix: #2 2021-11-19 15:47:47 +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 fix: #4 2021-11-19 17:19:50 +08:00
go.sum fix: #4 2021-11-19 17:19:50 +08:00
gterm.go feat: #3 2021-11-24 23:02:50 +08:00
index.html update 2021-11-17 02:04:21 +08:00
main.js fix: #2 2021-11-19 15:47:47 +08:00
make.sh build: add s390x arch 2021-12-29 14:15:27 +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"