From 025f6072991debb8756912b71fa8cc38c7480eb3 Mon Sep 17 00:00:00 2001 From: Pat Hickey Date: Thu, 3 Aug 2023 15:00:03 -0700 Subject: [PATCH] command world: provide imports of terminal-std{in, out, err} these interfaces were added to the package as part of https://github.com/WebAssembly/wasi-cli/pull/9, but they aren't exposed as imports in the command world. This PR adds them to the command world. --- command.md | 90 ++++++++++++++++++++++++++++++++++++++++++++++++- wit/command.wit | 5 +++ 2 files changed, 94 insertions(+), 1 deletion(-) diff --git a/command.md b/command.md index 646c049..99cd186 100644 --- a/command.md +++ b/command.md @@ -24,6 +24,11 @@
  • interface wasi:cli/stdin
  • interface wasi:cli/stdout
  • interface wasi:cli/stderr
  • +
  • interface wasi:cli/terminal-input
  • +
  • interface wasi:cli/terminal-output
  • +
  • interface wasi:cli/terminal-stdin
  • +
  • interface wasi:cli/terminal-stdout
  • +
  • interface wasi:cli/terminal-stderr
  • Exports: @@ -2957,7 +2962,7 @@ directory, interpreting . as shorthand for this.


    Functions

    exit: func

    -

    Exit the curerent instance and any linked instances.

    +

    Exit the current instance and any linked instances.

    Params