| 1 |
Hello World |
| 2 |
----------- |
| 3 |
|
| 4 |
.. n.b: get-resources will strip the number and install to ~/cylc-src |
| 5 |
|
| 6 |
.. admonition:: Get a copy of this example |
| 7 |
:class: hint |
| 8 |
|
| 9 |
.. code-block:: console |
| 10 |
|
| 11 |
$ cylc get-resources examples/1-hello-world |
| 12 |
|
| 13 |
In the time honoured tradition, this is the minimal Cylc workflow: |
| 14 |
|
| 15 |
.. literalinclude:: flow.cylc |
| 16 |
:language: cylc |
| 17 |
|
| 18 |
It writes the phrase "Hello World!" to standard output (captured to the |
| 19 |
``job.out`` log file). |
| 20 |
|
| 21 |
Run it with:: |
| 22 |
|
| 23 |
$ cylc vip hello-world |