Skip to content

Commit 144b808

Browse files
oliver-sandersMetRonniehjoliver
committed
Apply suggestions from code review
Co-authored-by: Ronnie Dutta <[email protected]> Co-authored-by: Hilary James Oliver <[email protected]>
1 parent e9196b0 commit 144b808

File tree

3 files changed

+26
-26
lines changed

3 files changed

+26
-26
lines changed

src/7-to-8/major-changes/cli.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ which automate common working practices, namely:
121121
Validate, install and play a workflow. This is similar to what
122122
``rose suite-run`` did.
123123
``cylc vr``
124-
Valiate, install, then either reload (if the workflow is running) or restart
124+
Validate, reinstall, then either reload (if the workflow is running) or restart
125125
(if it is stopped) the workflow. This is similar to what
126126
``rose suite-run --reload`` and ``rose suite-run --restart`` did.
127127

src/user-guide/cheat-sheet.rst

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ Working with Workflows
2929
Install and start a workflow::
3030

3131
# validate a workflow
32-
cylc validate <name/path>
32+
cylc validate <name|path>
3333

3434
# install a workflow
35-
cylc install <name/path>
35+
cylc install <name|path>
3636

3737
# start a workflow
3838
cylc play <id>
@@ -41,9 +41,9 @@ For convenience, these three operations can be combined with the ``cylc vip`` co
4141
(vip = validate + install + play)::
4242

4343
# validate, install and play a workflow
44-
cylc vip <name/path>
44+
cylc vip <name|path>
4545

46-
When you're done with a workflow, remove it with ``cylc clean``::
46+
When you're done with a workflow run, remove it with ``cylc clean``::
4747

4848
# delete a workflow installation
4949
cylc clean <id>
@@ -79,7 +79,7 @@ resume a workflow::
7979

8080
The Cylc play, pause and stop commands work similarly to the play, pause and
8181
stop buttons on an old tape player. You can play, pause or stop a workflow as
82-
many times as you like, Cylc will never loose its place in the workflow.
82+
many times as you like; Cylc will never lose its place in the workflow.
8383

8484

8585
List Workflows
@@ -91,7 +91,7 @@ The ``cylc scan`` command can list your installed workflows::
9191
cylc scan
9292

9393
# get information about running workflows
94-
cylc scan -t rich
94+
cylc scan --format=rich
9595

9696
# list all installed workflows
9797
cylc scan --states=all
@@ -142,48 +142,48 @@ Inspecting Workflows
142142

143143
Validate the workflow configuration (good for spotting errors)::
144144

145-
cylc validate <path/id>
145+
cylc validate <path|id>
146146

147147
Check the workflow for common problems and code style::
148148

149-
cylc lint <path/id>
149+
cylc lint <path|id>
150150

151151
View the workflow configuration *before* Cylc has parsed it
152-
(good for debugging Jinja2 errors)::
152+
(but after pre-processing - good for debugging Jinja2 errors)::
153153

154-
cylc view -p <path/id>
154+
cylc view -p <path|id>
155155

156156
View the workflow configuration *after* Cylc has parsed it
157157
(good for debugging family inheritance)::
158158

159-
cylc config <path/id>
159+
cylc config <path|id>
160160

161161
# view a specific task's configuration
162-
cylc config <path/id> -i '[runtime][<task>]'
162+
cylc config <path|id> -i '[runtime][<task>]'
163163

164164
# view the workflow configuration with defaults applied
165-
cylc config <path/id> --defaults
165+
cylc config <path|id> --defaults
166166

167167
Generate a graphical representation of the workflow's :term:`graph`
168168
(a useful tool for developing workflow graphs)::
169169

170-
cylc graph <path/id>
170+
cylc graph <path|id>
171171

172172
# render the graph between two cycle points
173-
cylc graph <path/id> <cycle1> <cycle2>
173+
cylc graph <path|id> <cycle1> <cycle2>
174174

175175
# render the graph transposed (can make it easier to read)
176-
cylc graph <path/id> --transpose
176+
cylc graph <path|id> --transpose
177177

178178
# group tasks by cycle point
179-
cylc graph <path/id> --cycles
179+
cylc graph <path|id> --cycles
180180

181181
# collapse tasks within a family (can reduce the number of tasks displayed)
182-
cylc graph <path/id> --group=<family>
182+
cylc graph <path|id> --group=<family>
183183

184184
List all tasks and families defined in a workflow::
185185

186-
cylc list <path/id>
186+
cylc list <path|id>
187187

188188

189189
Running Rose Stem Workflows
@@ -209,7 +209,7 @@ a Rose Stem workflow with ``cylc vip``.
209209
Interventions
210210
-------------
211211

212-
You can intervene with the running a workflow, e.g. to re-run a task.
212+
You can intervene in the running a workflow, e.g. to re-run a task.
213213

214214
Interventions are written up in :ref:`user-guide.interventions`. Here is a
215215
quick summary:
@@ -238,7 +238,7 @@ the line in a task's script that caused the error.
238238

239239
Start a workflow in debug mode::
240240

241-
$ cylc vip --debug <name/path>
241+
$ cylc vip --debug <name|path>
242242

243243
# OR
244244
$ cylc play --debug <id>
@@ -262,10 +262,10 @@ Many Cylc commands can operate over multiple workflows::
262262
cylc pause '*'
263263

264264
# re-run all failed tasks in all workflows
265-
cylc trigger '*//*/*:failed'
265+
cylc trigger "*//*/*:failed"
266266

267-
The ``*`` characters in these examples are "globs", make sure you put quotes
268-
around them or they won't do what you're expecting.
267+
The ``*`` characters in these examples are "globs". Make sure you put quotes
268+
around them to prevent the shell from trying to expand them.
269269

270270
For more information on globs or the Cylc ID format, run ``cylc help id``.
271271

src/user-guide/installing-workflows.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,7 @@ For example Cylc provides a command to validate, install and play a workflow.
467467

468468
Compound commands make common ways of working easier.
469469

470-
.. note::
470+
.. tip::
471471

472472
Use ``cylc command --help`` to get help for each compound command,
473473
including a full list of available options.

0 commit comments

Comments
 (0)