code: func SetDashboardConfig(ctx *cli.Context, cfg *dashboard.Config) {
  	cfg.Host = ctx.GlobalString(DashboardAddrFlag.Name)
  	cfg.Port = ctx.GlobalInt(DashboardPortFlag.Name)
  	cfg.Refresh = ctx.GlobalDuration(DashboardRefreshFlag.Name)
  }
docs: // SetDashboardConfig applies dashboard related command line flags to the config.