dax
dax copied to clipboard
Cross platform shell tools for Deno inspired by zx.
It would be nice to have a selection and multi-selection api. I worked on it previously and have a branch locally, but it looks like getting arrow key presses is...
I have noticed in long running processes, I would like to give a "progress" message... both a determinate and indeterminate variety: - Progress bar, where the percent complete is known...
* ~~`components(): Iterator`~~ * ~~`startsWith(text: string | PathRef | URL): boolean;`~~ * ~~`endsWith(text: string): boolean;`~~ * ~~`equals(path: string | URL | PathRef): boolean;`~~ * `linkTo / linkToSync` methods (copy `symlinkTo`)
I am having trouble figuring out how to pipe command's stderr to a file :) Here's the code I arraivied at: ```ts const child = $`my-command`.stderr('piped').spawn(); child.stderr().pipeTo((await Deno.open("log.vopr")).writable) await child...
Good: ``` await $`./zig/zig > log.vopr` error: Uncaught (in promise) Error: Redirects are not supported. Pipe in the JS code instead using the methods on commands. throw new Error("Redirects are...
Minor zit that got in the way of using `setPrintCommandLogger`. To be specific, it used to decorate it with color codes and pass the greater than symbol as a prefix....
I'm not sure if this is intended or not, but enabling `captureCombined` will make `getBuffers` return `CapturingBufferWriter` for both stdout and stderr instead of `PipedBuffer`. The problem is that when...
It would be nice if Dax had an equivalent to `alert()` in Deno (or `pause` in CMD) to go along with `$.confirm` and `$.prompt`. This function would simply wait for...
Hello! This command: ```js await $`echo 1 && echo stderr >&2`; ``` throws this error: ``` error: Uncaught (in promise) Error: Async commands are not supported. Run a command concurrently...
Hello. Instead of dax asking permission to read every single possible filename in every single directory in path, it would be nice if dax could automatically request `read` permissions in...