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 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 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 Watching updates to a particular resource
--watch-interval 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]