in tools/mconnect/commands/export/export.go [293:313]
func setExportFlags(cmd *cobra.Command) {
// Required flags.
cmd.Flags().StringVar(&path, "path", "", `The csv file's path of the CAST report (analysisResults.csv). (required)`)
cmd.MarkFlagRequired("path")
cmd.Flags().StringVar(&projectID, "project", "", `The BigQuery project-id to export the data to. (required)`)
cmd.MarkFlagRequired("project")
cmd.Flags().StringVar(&datasetID, "dataset", "", `The dataset-id to export the data to. If the dataset doesn't exist it will be created. If not specified the default name will be 'mcCast'. Make sure to use the same dataset for every command.`)
cmd.Flags().StringVar(®ion, "region", "", `The BigQuery region in which the dataset and tables will be created. (required)`)
cmd.MarkFlagRequired("region")
// Optional flags.
cmd.Flags().BoolVarP(&force, "force", "f", false, "Force the export of the data even if the destination tables exist. The operation will delete all the content in the original tables.")
// Optional hidden flags.
cmd.Flags().StringVar(&mcProjectID, "mc-project", "", `The Migration Center project-id from which Migration Center data will be exported to BigQuery. If not specified the default project will be the BigQuery project-id`)
cmd.Flags().StringVar(&mcRegion, "mc-region", "", `The Migration Center region In which your data is located. This should be the region which you used for the create-groups command. If not specified this will default to your BigQuery region.`)
cmd.Flags().MarkHidden("mc-project")
cmd.Flags().MarkHidden("mc-region")
cmd.Flags().StringVar(&endpoint, "mc-endpoint", "", `The endpoint Migration Centers client will use.`)
cmd.Flags().MarkHidden("mc-endpoint")
}