mirror of
https://github.com/sbrow/envr.git
synced 2026-06-27 10:38:33 -04:00
test: commands now accept stdout/stderr fields.
This commit is contained in:
@@ -5,7 +5,6 @@ import "core:fmt"
|
||||
COMPLETION_SCRIPT: string : string(#load("mod.nu"))
|
||||
|
||||
cmd_nushell_completion :: proc(cmd: ^Command) {
|
||||
// TODO: Use buffered writer?
|
||||
fmt.print(COMPLETION_SCRIPT)
|
||||
fmt.wprint(cmd.out, COMPLETION_SCRIPT, flush = false)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user