Skip to content
This repository was archived by the owner on May 25, 2023. It is now read-only.

Commit efe13f0

Browse files
author
Sam McGeown
committed
Docs: add pipeline folder import to README
1 parent 717a451 commit efe13f0

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,14 +122,18 @@ cs-cli get pipeline --export
122122
cs-cli get pipeline --project "Field Demo" --export
123123
```
124124

125-
Import a pipeline:
125+
Importing pipelines:
126126
```bash
127127
# Import a yaml definition
128128
cs-cli create pipeline --importPath /my/yaml-pipeline.yaml
129+
# Import a folder of YAML files (will attempt to import all YAML files in the folder - .yml/.yaml)
130+
cs-cli create pipeline --importPath /Users/sammcgeown/Desktop/cs-cli/pipelines
129131
# Update an existing pipeline
130132
# Note: You cannot change the pipeline name - this
131133
# will result in a new Pipeline being created
132134
cs-cli update pipeline --importPath /my/updated-pipe.yaml
135+
# Update existing pipelines from folder
136+
cs-cli update pipeline --importPath /Users/sammcgeown/Desktop/cs-cli/pipelines
133137
```
134138

135139

0 commit comments

Comments
 (0)