mirror of
https://github.com/yudai/gotty.git
synced 2025-12-31 14:48:49 +01:00
Support profile files to customize hterm
This commit is contained in:
parent
afd40ea15d
commit
45f65bfc29
7 changed files with 78 additions and 7 deletions
7
main.go
7
main.go
|
|
@ -43,6 +43,12 @@ func main() {
|
|||
Usage: "Add a random string to the URL",
|
||||
EnvVar: "GOTTY_RANDOM_URL",
|
||||
},
|
||||
cli.StringFlag{
|
||||
Name: "profile-file, f",
|
||||
Value: app.DefaultProfileFilePath,
|
||||
Usage: "Path to profile file",
|
||||
EnvVar: "GOTTY_PROFILE_FILE",
|
||||
},
|
||||
cli.StringFlag{
|
||||
Name: "title-format",
|
||||
Value: "GoTTY - {{ .Command }} ({{ .Hostname }})",
|
||||
|
|
@ -64,6 +70,7 @@ func main() {
|
|||
c.Bool("permit-write"),
|
||||
c.String("credential"),
|
||||
c.Bool("random-url"),
|
||||
c.String("profile-file"),
|
||||
c.String("title-format"),
|
||||
c.Args(),
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue