mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-14 08:02:15 +03:00
parent
b9b13d47b9
commit
a5c9347d75
@ -48,7 +48,7 @@ func NewConsoleCmd(ec *cli.ExecutionContext) *cobra.Command {
|
|||||||
|
|
||||||
f.StringVar(&opts.APIPort, "api-port", "9693", "port for serving migrate api")
|
f.StringVar(&opts.APIPort, "api-port", "9693", "port for serving migrate api")
|
||||||
f.StringVar(&opts.ConsolePort, "console-port", "9695", "port for serving console")
|
f.StringVar(&opts.ConsolePort, "console-port", "9695", "port for serving console")
|
||||||
f.StringVar(&opts.Address, "address", "localhost", "address to use")
|
f.StringVar(&opts.Address, "address", "localhost", "address to serve console and migration API from")
|
||||||
f.BoolVar(&opts.DontOpenBrowser, "no-browser", false, "do not automatically open console in browser")
|
f.BoolVar(&opts.DontOpenBrowser, "no-browser", false, "do not automatically open console in browser")
|
||||||
f.StringVar(&opts.StaticDir, "static-dir", "", "directory where static assets mentioned in the console html template can be served from")
|
f.StringVar(&opts.StaticDir, "static-dir", "", "directory where static assets mentioned in the console html template can be served from")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user