Support profile files to customize hterm

This commit is contained in:
Iwasaki Yudai 2015-08-23 22:55:06 +09:00
parent afd40ea15d
commit 45f65bfc29
7 changed files with 78 additions and 7 deletions

View file

@ -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(),
},