@@ -25,6 +25,11 @@ location, called a :term:`source directory`.
25
25
``cylc install `` will create a new run directory in the :term: `cylc-run directory `
26
26
for each installation of a workflow.
27
27
28
+ .. contents :: Contents
29
+ :depth: 2
30
+ :local:
31
+
32
+
28
33
.. _Install-Workflow :
29
34
30
35
The Cylc Install Command
@@ -449,3 +454,51 @@ There are some occasions when installation is expected to fail:
449
454
previous installation. i.e. running ``cylc install `` in
450
455
``~/cylc-src/my-flow ``, followed by running ``cylc install `` from
451
456
``~/different/my-flow ``.
457
+
458
+
459
+ .. _installing_workflows.compound_commands :
460
+
461
+ Compound Commands
462
+ -----------------
463
+
464
+ Cylc provides compound commands which carry out multiple operations.
465
+
466
+ For example Cylc provides a command to validate, install and play a workflow.
467
+
468
+ Compound commands make common ways of working easier.
469
+
470
+ .. note ::
471
+
472
+ Use ``cylc command --help `` to get help for each compound command,
473
+ including a full list of available options.
474
+
475
+
476
+ ``cylc vip `` (Validate, Install and Play)
477
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
478
+
479
+ ``cylc vip /home/me/cylc-src/my-workflow `` is the same as running:
480
+
481
+ .. code-block :: bash
482
+
483
+ $ cylc validate /home/me/cylc-src/my-workflow
484
+ $ cylc install /home/me/cylc-src/my-workflow
485
+ INSTALLED my-workflow/run1 from /home/me/cylc-src/my-workflow
486
+ $ cylc play my-workflow
487
+
488
+ ``cylc vr `` (Validate, Reinstall and Reload or Play)
489
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
490
+
491
+ ``cylc vr my-workflow `` is the same as running:
492
+
493
+ .. code-block :: bash
494
+
495
+ # Check that the changes you want to
496
+ # make will be valid after installation:
497
+ $ cylc validate my-workflow --against-source
498
+ $ cylc reinstall my-workflow
499
+
500
+ # If workflow is running:
501
+ $ cylc reload my-workflow
502
+
503
+ # If workflow is stopped:
504
+ $ cylc play my-workflow
0 commit comments