just icon indicating copy to clipboard operation
just copied to clipboard

`just --list` should highlight parts of the comment surrounded by backticks (`)

Open nyurik opened this issue 1 year ago • 1 comments

If a recipe uses backticks in the description comment, I think it would be helpful to the users to show that content in a different color:

# run command with docker, e.g. `just docker bazel build //:mbgl-core`, or open docker shell with `just docker`
docker *ARGS:
    docker run --rm -it -v "$PWD:/app/" -v "$PWD/docker/.cache:/home/user/.cache" maplibre-native-image {{ARGS}}

When using just --list, the above should be shown something like this (probably with better color choices):

image

nyurik avatar Jul 24 '24 21:07 nyurik

This seems like a good idea to me!

casey avatar Jul 24 '24 22:07 casey

I think this can be closed now given https://github.com/casey/just/pull/2423 was merged.

Blacksmoke16 avatar Jan 21 '25 15:01 Blacksmoke16

Good catch!

casey avatar Jan 21 '25 18:01 casey