Stephen Albert-Moore

Results 25 comments of Stephen Albert-Moore

stdin is fully consumed by `sh`, so it can't also be provided by a tty. [rustup](https://github.com/rust-lang/rustup/blob/e40ca1203ab523354affc870068359517aaf2b94/rustup-init.sh#L142-L154) solves this issue by downloading the architecture-specific script to a temp directory (from `mktemp...

The only problems (albeit minor) with the manual method: - it keeps the corner fillets for each part, when you probably only want them on the outer corners - When...

@aderusha Workaround for the baseplate: Change line 191 from ``` circle(r_skel); ``` to ``` circle(r_skel / 2); ``` That circle seems to describe this fillet: If the radius is `r_skel`,...

If you're experimenting, you might look into writing a simple Pandoc "reader" in Lua. Here's an [example](https://pandoc.org/custom-readers.html#example-parsing-json-from-an-api). Or a more direct approach: Produce JSON-formatted Pandoc AST directly, e.g. with [this](https://docs.rs/crate/pandoc_types/0.6.0)...

A more general solution might look like a "structured dry-run". Something like ```just some_var = 'var_value' export SOME_ENV := 'env_value' a: touch foo @echo {{ some_var }} b: a #!/usr/bin/env...

An idea that might dovetail with this: Add a function `just()` which is sugar for `(just_executable() + ' --justfile ' + justfile() + ' ' + just_options() + ' --...

Just since it hasn't been mentioned: is Nushell under consideration here? Disadvantages: - Not widely used/known - Not 1.0 yet (implying its use would have to be `--unstable` until then)...

@casey by default, `sh.foo()` returns `foo`'s stdout as a string. Use `print(sh.foo())` to see it directly.

Maybe out-of-scope for this issue, but: in the hypothetical future where just embeds a scripting language, do you have an annotation syntax in mind to distinguish "use embedded interpreter X"...