Skip to content
Snippets Groups Projects
cmdServeConfig.gotmpl 405 B
Newer Older
// This file is generated only once and is safe to edit

{{ if .Copyright -}}// {{ comment .Copyright -}}{{ end }}


package cmd

func setupServerCmd(cmd *ServeCmd) {
    // This is where CommandLineOptionsGroups can be added to the API
}

func setupServeConfig(config *restapi.Config) error {
	config.BaseURL = InfoOptions.BaseURL
	// This is where the api config can be customized at will
	return nil
}