mirror of
https://github.com/nushell/nushell.git
synced 2025-02-18 03:21:05 +01:00
export the commands
This commit is contained in:
parent
e33d621311
commit
7b6d1acaee
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user