package wasi:cli@0.2.0; interface environment { get-environment: func() -> list>; get-arguments: func() -> list; initial-cwd: func() -> option; } interface exit { exit: func(status: result); } interface stdin { use wasi:io/streams@0.2.0.{input-stream}; get-stdin: func() -> input-stream; } interface stdout { use wasi:io/streams@0.2.0.{output-stream}; get-stdout: func() -> output-stream; } interface stderr { use wasi:io/streams@0.2.0.{output-stream}; get-stderr: func() -> output-stream; } interface terminal-input { resource terminal-input; } interface terminal-output { resource terminal-output; } interface terminal-stdin { use terminal-input.{terminal-input}; get-terminal-stdin: func() -> option; } interface terminal-stdout { use terminal-output.{terminal-output}; get-terminal-stdout: func() -> option; } interface terminal-stderr { use terminal-output.{terminal-output}; get-terminal-stderr: func() -> option; }