基于 zx 而设计的跨平台 shell 工具,用于 Deno 和 Node.js。
基于 zx 而创建的跨平台 shell 工具,用于 Deno 和 Node.js。
import $ from "dax";
// run a command
await # dax
基于 [zx](https://github.com/google/zx) 而创建的跨平台 shell 工具,用于 Deno 和 Node.js。
echo 5`; // outputs: 5
// capture output
const branch = await # dax
基于 [zx](https://github.com/google/zx) 而创建的跨平台 shell 工具,用于 Deno 和 Node.js。
git rev-parse --abbrev-ref HEAD`.text();
// make a request
const data = await $.request("https://plugins.dprint.dev/info.json").json();
// prompt for input
const name = await $.prompt("What's your name?");$ 实例,但不必使用它。暂无开放 Issues,或尚未同步最近议题。