Create

Description

Create New Workflow Data Item.

Command

codefresh create workflow-data-item

Aliases

codefresh create wdi workflow-data-item

Options

Option Alias Type Default Description
--help Print help information
--filename -f Filename or directory of spec files use to create the resource
--workflow --wf Workflow ID that the Workflow-Data-Item belongs to. required

Examples

Create new Workflow-Data-Iten that belongs to WORKFLOW_ID with content from “./file.json”

codefresh create workflow-data-item --workflow [WORKFLOW_ID] --file ./file.json