Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cmd/release.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func init() {
releaseCmd.Flags().StringVar(&releaseTitle, "title", "", "Event title (defaults to the version)")
releaseCmd.Flags().StringVar(&configPath, "config", ".uigraph.yaml", "Path to config file")
releaseCmd.Flags().StringVar(&apiURL, "api-url", "", "Gateway API URL (defaults to UIGRAPH_GATEWAY_URL env var)")
releaseCmd.Flags().StringVar(&enterpriseEnv, "enterprise", "", "Record the release on the UiGraph gateway ("+enterpriseGatewayURL+"); pass --enterprise=DEV for "+enterpriseDevGatewayURL)
releaseCmd.Flags().StringVar(&enterpriseEnv, "enterprise", "", "Record the release on the UiGraph gateway ("+enterpriseGatewayURL+")")
releaseCmd.Flags().Lookup("enterprise").NoOptDefVal = "DEFAULT"
releaseCmd.MarkFlagsMutuallyExclusive("api-url", "enterprise")
releaseCmd.Flags().BoolVar(&dryRun, "dry-run", false, "Print the event without sending it to the gateway (no token or gateway URL needed)")
Expand Down
2 changes: 1 addition & 1 deletion cmd/sync.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ A dry run reaches no gateway, so it needs neither UIGRAPH_TOKEN nor a gateway UR
func init() {
syncCmd.Flags().StringVar(&configPath, "config", ".uigraph.yaml", "Path to config file")
syncCmd.Flags().StringVar(&apiURL, "api-url", "", "Gateway API URL (defaults to UIGRAPH_GATEWAY_URL env var)")
syncCmd.Flags().StringVar(&enterpriseEnv, "enterprise", "", "Sync to the UiGraph gateway ("+enterpriseGatewayURL+"); pass --enterprise=DEV for "+enterpriseDevGatewayURL)
syncCmd.Flags().StringVar(&enterpriseEnv, "enterprise", "", "Sync to the UiGraph gateway ("+enterpriseGatewayURL+")")
syncCmd.Flags().Lookup("enterprise").NoOptDefVal = "DEFAULT"
syncCmd.MarkFlagsMutuallyExclusive("api-url", "enterprise")
syncCmd.Flags().BoolVar(&dryRun, "dry-run", false, "Print payloads without sending to gateway (no token or gateway URL needed)")
Expand Down
Loading