export the commands

This commit is contained in:
amtoine 2024-11-13 19:17:29 +01:00
parent e33d621311
commit 7b6d1acaee
No known key found for this signature in database
GPG Key ID: 37AAE9B486CFF1AB

View File

@ -30,11 +30,11 @@ export def "to jsonl" []: any -> string {
}
# Convert from NDNUON, i.e. newline-delimited NUON, to structured
def "from ndnuon" []: [string -> any] {
export def "from ndnuon" []: [string -> any] {
lines | each { from nuon }
}
# Convert structured data to NDNUON, i.e. newline-delimited NUON
def "to ndnuon" []: [any -> string] {
export def "to ndnuon" []: [any -> string] {
each { to nuon --raw } | to text
}