Skip to content

badele/justise

Repository files navigation

justise

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.

Configuration

just tasks

#!/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

mise tasks

[tools]
"go:github.com/badele/justise" = "latest"
just = "latest"

[tasks.justise]
description = "Convert mise to just recipe"
hide = true
silent = true
run = "justise"

Usage

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

About

bring justice to your mise tasks by converting them to just recipes

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors