Supporting Mizu view from given url (#312)

* Supporting Mizu view from given url
This commit is contained in:
Igor Gov
2021-10-05 12:24:50 +03:00
committed by GitHub
parent 90040798b8
commit 30fce5d765
3 changed files with 32 additions and 22 deletions

View File

@@ -25,4 +25,7 @@ func init() {
defaults.Set(&defaultViewConfig)
viewCmd.Flags().Uint16P(configStructs.GuiPortViewName, "p", defaultViewConfig.GuiPort, "Provide a custom port for the web interface webserver")
viewCmd.Flags().StringP(configStructs.UrlViewName, "u", defaultViewConfig.Url, "Provide a custom host")
viewCmd.Flags().MarkHidden(configStructs.UrlViewName)
}