Skip to content

Commit 681b22e

Browse files
committed
documentation for cylc config --platform-*
1 parent 4968de0 commit 681b22e

File tree

3 files changed

+30
-6
lines changed

3 files changed

+30
-6
lines changed

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

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,22 @@ View the parsed workflow configuration:
177177

178178
cylc config <name/path>
179179

180+
181+
List configured platforms and platform groups
182+
---------------------------------------------
183+
184+
.. seealso::
185+
186+
:ref:`ListingAvailablePlatforms`
187+
188+
189+
``cylc config --platform-names``
190+
Print a list of configured platforms and platform groups.
191+
192+
``cylc config --platform-meta``
193+
Print out the full configuration of ``[platfroms]`` and
194+
``[platform groups]``
195+
180196
Opening User Interfaces
181197
-----------------------
182198

@@ -230,7 +246,7 @@ Generate a visualisation for a workflow without running it:
230246
- ::
231247

232248
cylc graph <name>
233-
249+
234250
This generates a basic image file if Graphviz is installed.
235251

236252
The web UI will have full graph vis. in a future release.

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,9 @@ a single platform. Such platforms can be set up to be ``platform groups``
6969

7070
.. seealso::
7171

72+
:ref:`ListingAvailablePlatforms` for details of how to list platforms
73+
already defined.
74+
7275
:ref:`AdminGuide.PlatformConfigs` for detailed examples of platform
7376
configurations.
7477

src/reference/config/writing-platform-configs.rst

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,21 @@ Writing Platform Configurations
1313
- :cylc:conf:`global.cylc[platforms]`
1414
- :cylc:conf:`global.cylc[platforms][<platform name>]install target`
1515

16+
.. _ListingAvailablePlatforms:
17+
18+
Listing available platforms
19+
---------------------------
20+
1621
If you are working on an institutional network platforms may already
1722
have been configured for you.
1823

19-
.. TODO update the command below after implementing a platform
20-
listing command.
24+
To see a list of available platforms::
25+
26+
cylc config --platform-names
2127

22-
To see available platforms::
28+
To see the full configuration of available platforms::
2329

24-
cylc config -i [platforms]
25-
cylc config -i [platform groups]
30+
cylc config --platform-meta
2631

2732
What Are Platforms?
2833
-------------------

0 commit comments

Comments
 (0)