File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -150,6 +150,10 @@ op create workpackge --project 11 'Document new CLI tool'
150150
151151# Same command with shorthands and directly open it in a browser to continue working on it.
152152op create workpackge -p11 ' Document new CLI tool' -o
153+
154+ # Validating the creation of a child work package without persisting it.
155+ # The parent determines the project automatically.
156+ op create workpackage --parent 74316 --type Implementation ' Build reusable skill' --dry-run --json
153157```
154158
155159#### Listing
@@ -174,6 +178,9 @@ op update workpackage 42 --subject 'The new subject' --status 'In Progress' --ty
174178
175179# Uploading an attachment to a work package
176180op update workpackage 42 --attach ./Downloads/Report.pdf
181+
182+ # Resolving and validating field updates as JSON before applying them
183+ op update workpackage 74316 --set ' Votes=3' --dry-run --json
177184```
178185
179186#### Inspecting
@@ -182,6 +189,9 @@ op update workpackage 42 --attach ./Downloads/Report.pdf
182189# Inspecting a work package with more details,
183190# then in the work package list command
184191op inspect workpackage 42
192+
193+ # Inspecting a work package and its direct children as machine-readable JSON
194+ op inspect workpackage 74316 --children --json
185195```
186196
187197## Creating a release
You can’t perform that action at this time.
0 commit comments