just is super simple for listing tasks, and I use it as the entry point to a
project. mise handles:
- packages to install
- secrets
- tasks
The issue: the mise tasks help output is not (yet) customizable by the author
(discussion).
justise therefore converts mise tasks into just recipes so they can be
listed by group with just -l.
#!/usr/bin/env just -f
import? "justfile.mise"
# This help
[group('misc')]
@help:
[ -f justfile.mise ] || just justise
just -l -u
# Convert mise tasks to just recipes
[group('misc')]
@justise:
mise run justise[tools]
"go:github.com/badele/justise" = "latest"
just = "latest"
[tasks.justise]
description = "Convert mise to just recipe"
hide = true
silent = true
run = "justise"On the first run of just -l, the conversion from mise recipes to just
happens automatically.
You can also run the conversion manually:
just justise
