Switch to urfave/cli/v2... again.

This commit is contained in:
Soren L. Hansen
2021-04-18 07:01:31 -07:00
parent 1fa987c518
commit c3c670b954
5 changed files with 14 additions and 28 deletions

View File

@@ -22,10 +22,9 @@ func main() {
app.Name = "gotty"
app.Version = Version + "+" + CommitID
app.Usage = "Share your terminal as a web application"
app.HideHelp = true
cli.AppHelpTemplate = helpTemplate
app.HideHelpCommand = true
appOptions := &server.Options{}
if err := utils.ApplyDefaultValues(appOptions); err != nil {
exit(err, 1)
}