mirror of
https://github.com/apple/pkl.git
synced 2026-05-25 16:19:20 +02:00
Improve some doc comments in pkl:Command (#1582)
This commit is contained in:
+5
-3
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user