Allow overriding when an optional import took place · Issue #2523 · casey/just · GitHub
Hi! I would like to be able to detect within a justfile whether an optional import took place. I found out a workaround to do that within recipe bodies, namely # ./maybe.just set export IMPORTED := "true" # ./justfile import? 'maybe.just...