Skip to content

Commit 2661d13

Browse files
authored
Command availability annotations (#9335)
Adds some availability detail to the command line tools recently added to the core docs ### Motivation: Saw comments about swift package migrate and swift package show-traits being in the docs, but not available in released toolchains. ### Modifications: Added availability annotations to the documents ### Result: CLI documentation pages will show availability of when commands are available for versions of the Swift toolchain
1 parent 23e759c commit 2661d13

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Sources/PackageManagerDocs/Documentation.docc/Package/PackageMigrate.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
@Metadata {
44
@PageImage(purpose: icon, source: command-icon)
5+
@Available("Swift", introduced: "6.2")
56
}
67

78

Sources/PackageManagerDocs/Documentation.docc/Package/PackageShowTraits.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
@Metadata {
44
@PageImage(purpose: icon, source: command-icon)
5+
@Available("Swift", introduced: "6.3")
56
}
67

78
List the available traits for a package.

0 commit comments

Comments
 (0)