Skip to content

Commit 384e5db

Browse files
authored
Merge pull request #379 from wxtim/cylc_config_get_platform_information
documentation for cylc config --platform-*
2 parents dcfee7b + aaff9b1 commit 384e5db

File tree

3 files changed

+16
-6
lines changed

3 files changed

+16
-6
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ Generate a visualisation for a workflow without running it:
232232
- ::
233233

234234
cylc graph <name>
235-
235+
236236
This generates a basic image file if Graphviz is installed.
237237

238238
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: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,23 @@ 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
27+
28+
To see the full configuration of available platforms::
2129

22-
To see available platforms::
30+
cylc config --platforms
2331

24-
cylc config -i [platforms]
25-
cylc config -i [platform groups]
32+
This is equivalent to ``cylc config -i 'platforms' -i 'platform groups'``
2633

2734
What Are Platforms?
2835
-------------------

0 commit comments

Comments
 (0)