cli to list all possible node-field values for a workflow #10675
Labels
area/cli
The `argo` CLI
area/retry-manual
Manual workflow "Retry" Action (API/CLI/UI). See retryStrategy for template-level retries
type/feature
Feature request
https://argoproj.github.io/argo-workflows/cli/argo_retry/ accepts
--node-field-selector
but I'm struggling to find key/values to pass into it.I tried different keys (ie field names) from https://argoproj.github.io/argo-workflows/node-field-selector/ and then different formats of values including dag.steps.thestep(0) among 10s of other combos but no luck!
would be great if there was a cli command that accepts argument of workflowname and nodefield, then it returns output of all possible values for that nodefield in that workflow
implementation idea
i imagine this will loop through all nodes of a workflow
argo-workflows/cmd/argo/commands/common/get.go
Line 142 in e09d2f1
argo-workflows/workflow/util/util.go
Lines 455 to 461 in e09d2f1
i'm guessing above won't be available when already archived
i think dag is the trickiest to understand full path at the moment
The text was updated successfully, but these errors were encountered: