Improve some doc comments in pkl:Command (#1582)

This commit is contained in:
Jen Basch
2026-05-12 13:53:15 -07:00
committed by GitHub
parent bac8b47ba8
commit fe58405220
+5 -3
View File
@@ -257,10 +257,12 @@ class Argument extends Annotation {
completionCandidates: "paths" | *Listing<String>(isDistinct) completionCandidates: "paths" | *Listing<String>(isDistinct)
} }
/// A value used in [Flag.convert] and [Argument.convert] to declare an option as a dynamic /// A value used in [Flag.convert], [Flag.transformAll], [Argument.convert], and
/// import. /// [Argument.transformAll] functions to trigger a dynamic module import.
class Import { class Import {
/// The absolute URI of the module to import. /// The URI of the module to import.
///
/// Relative paths are resolved relative to the current working directory.
uri: String uri: String
/// Whether [uri] should be interpreted as a glob pattern. /// Whether [uri] should be interpreted as a glob pattern.