Get

Description

Get Workflow Data Item.

Passing [id] argument will cause a retrieval of a specific Workflow-Data-Item.

Command

codefresh get workflow-data-item [id..]

Aliases

codefresh get wdi [id..]

Arguments

Option Alias Default Description
id Workflow-Data-Item ID

Options

Option Alias Type Default Description
--help Print help information
--workflow --wf Workflow ID that the Workflow-Data-Item belongs to. required
--decrypt When requesting spesific Workflow-Data-Item, decrypt the stored data

Output Options

Option Alias Type Default Description
--select-columns --sc Columns to select for table output
--output -o Output format

Possible values:
- json
- yaml
- wide
- name
- id
--date-format --df Provide predefined or custom date format. Predefined options: [“default”, “date”, “datetime”, “date-diff”]
--pretty Use colors and signs for output
--watch -w boolean false Watching updates to a particular resource
--watch-interval number 3 Interval time at watching mode (in seconds)

Examples

Get all Workflow-Data-Items for given WORKFLOW_ID

codefresh get workflow-data-item --workflow [WORKFLOW_ID]

Get and decrypt WORKFLOW_DATA_ITEM_ID that is was reported to WORKFLOW_ID

codefresh get workflow-data-item [WORKFLOW_DATA_ITEM_ID] --decrypt --workflow [WORKFLOW_ID]