Support profile files to customize hterm
This commit is contained in:
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(),
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user