Skip to content

Commit 8819d83

Browse files
wxtimdatamelMetRonnie
authored
cylc vip (#533)
* add references to cylc vip * Update src/user-guide/compound-commands.rst Co-authored-by: Melanie Hall <[email protected]> * Update src/7-to-8/major-changes/cli.rst Co-authored-by: Ronnie Dutta <[email protected]> * Update src/7-to-8/cheat-sheet.rst Co-authored-by: Ronnie Dutta <[email protected]> * Update src/user-guide/compound-commands.rst Co-authored-by: Melanie Hall <[email protected]> Co-authored-by: Ronnie Dutta <[email protected]>
1 parent 9304c08 commit 8819d83

File tree

4 files changed

+41
-1
lines changed

4 files changed

+41
-1
lines changed

src/7-to-8/cheat-sheet.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,10 @@ Install a workflow from source and run it:
5959
# run the installed workflow
6060
cylc play <name>
6161

62+
# alternatively:
63+
# validate, install & play
64+
cylc vip <name>
65+
6266

6367
Reloading
6468
---------
@@ -79,7 +83,7 @@ To update a running workflow with changes from the source directory:
7983
- ::
8084

8185
# re-install from source
82-
# and do ``cylc reload``
86+
# and do ``cylc reload``
8387
rose suite-run --reload
8488
- ::
8589

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,13 @@ GUI. Consequently the following commands have also been removed:
113113
The ``cylc gui`` command remains, it launches a standalone version of the
114114
web GUI (providing the `Cylc UI Server`_ is installed).
115115

116+
.. seealso::
117+
118+
:ref:`CompoundCommands` - For your convenience we have
119+
provided commands which represent common working practices. For
120+
example ``cylc vip`` (Validate-Install-Play) which runs
121+
``cylc validate``, ``cylc install`` and ``cylc play``.
122+
116123

117124
Cylc 8 Standardised IDs
118125
-----------------------
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
.. _CompoundCommands:
2+
3+
Compound Commands
4+
=================
5+
6+
Cylc provides compound commands which carry out more than one
7+
workflow action. For example Cylc provides a command to validate,
8+
install and play a workflow.
9+
10+
Compound commands make common ways of working easier.
11+
12+
.. note::
13+
14+
Use ``cylc command --help`` to get help for each compound command,
15+
including a full list of available options.
16+
17+
18+
``cylc vip`` (Validate, Install and Play)
19+
-----------------------------------------
20+
21+
``cylc vip /home/me/cylc-src/my-workflow`` is the same as running:
22+
23+
.. code-block:: bash
24+
25+
$ cylc validate /home/me/cylc-src/my-workflow
26+
$ cylc install /home/me/cylc-src/my-workflow
27+
INSTALLED my-workflow/run1 from /home/me/cylc-src/my-workflow
28+
$ cylc play my-workflow

src/user-guide/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@ User Guide
1212
task-implementation/index
1313
removing-workflows
1414
sharing-access-to-workflows
15+
compound-commands

0 commit comments

Comments
 (0)