@@ -6,25 +6,35 @@ const (
66 // CommandAnnotationPlugin is added to every stub command added by
77 // AddPluginCommandStubs with the value "true" and so can be
88 // used to distinguish plugin stubs from regular commands.
9+ //
10+ // Deprecated: use [metadata.CommandAnnotationPlugin]. This alias will be removed in the next release.
911 CommandAnnotationPlugin = metadata .CommandAnnotationPlugin
1012
1113 // CommandAnnotationPluginVendor is added to every stub command
1214 // added by AddPluginCommandStubs and contains the vendor of
1315 // that plugin.
16+ //
17+ // Deprecated: use [metadata.CommandAnnotationPluginVendor]. This alias will be removed in the next release.
1418 CommandAnnotationPluginVendor = metadata .CommandAnnotationPluginVendor
1519
1620 // CommandAnnotationPluginVersion is added to every stub command
1721 // added by AddPluginCommandStubs and contains the version of
1822 // that plugin.
23+ //
24+ // Deprecated: use [metadata.CommandAnnotationPluginVersion]. This alias will be removed in the next release.
1925 CommandAnnotationPluginVersion = metadata .CommandAnnotationPluginVersion
2026
2127 // CommandAnnotationPluginInvalid is added to any stub command
2228 // added by AddPluginCommandStubs for an invalid command (that
2329 // is, one which failed it's candidate test) and contains the
2430 // reason for the failure.
31+ //
32+ // Deprecated: use [metadata.CommandAnnotationPluginInvalid]. This alias will be removed in the next release.
2533 CommandAnnotationPluginInvalid = metadata .CommandAnnotationPluginInvalid
2634
2735 // CommandAnnotationPluginCommandPath is added to overwrite the
2836 // command path for a plugin invocation.
37+ //
38+ // Deprecated: use [metadata.CommandAnnotationPluginCommandPath]. This alias will be removed in the next release.
2939 CommandAnnotationPluginCommandPath = metadata .CommandAnnotationPluginCommandPath
3040)
0 commit comments