mirror of
https://github.com/apple/pkl.git
synced 2026-04-20 07:21:32 +02:00
Fix CLI docs examples for -x
The examples were using the wrong key.
This commit is contained in:
@@ -342,7 +342,7 @@ The following command prints `Pigeon` to the console:
|
|||||||
|
|
||||||
[source,shell]
|
[source,shell]
|
||||||
----
|
----
|
||||||
pkl eval -x metadata.name pigeon.pkl
|
pkl eval -x metadata.species pigeon.pkl
|
||||||
# => Pigeon
|
# => Pigeon
|
||||||
----
|
----
|
||||||
|
|
||||||
@@ -356,7 +356,7 @@ metadata {
|
|||||||
}
|
}
|
||||||
|
|
||||||
output {
|
output {
|
||||||
text = metadata.name.toString()
|
text = metadata.species.toString()
|
||||||
}
|
}
|
||||||
----
|
----
|
||||||
====
|
====
|
||||||
|
|||||||
Reference in New Issue
Block a user