Document --unsorted
flag in readme (#672)
This commit is contained in:
parent
551a22b5fc
commit
c62ff5a3d0
24
README.adoc
24
README.adoc
@ -226,7 +226,7 @@ A variety of example justfiles can be found in the link:examples[examples direct
|
|||||||
|
|
||||||
=== Listing Available Recipes
|
=== Listing Available Recipes
|
||||||
|
|
||||||
Recipes can be listed with `just --list` :
|
Recipes can be listed in alphabetical order with `just --list`:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
$ just --list
|
$ just --list
|
||||||
@ -244,6 +244,28 @@ $ just --summary
|
|||||||
build test deploy lint
|
build test deploy lint
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Pass `--unsorted` to print recipes in the order they appear in the justfile:
|
||||||
|
|
||||||
|
```make
|
||||||
|
test:
|
||||||
|
echo 'Testing!'
|
||||||
|
|
||||||
|
build:
|
||||||
|
echo 'Building!'
|
||||||
|
```
|
||||||
|
|
||||||
|
```sh
|
||||||
|
$ just --list --unsorted
|
||||||
|
Available recipes:
|
||||||
|
test
|
||||||
|
build
|
||||||
|
```
|
||||||
|
|
||||||
|
```sh
|
||||||
|
$ just --summary --unsorted
|
||||||
|
test build
|
||||||
|
```
|
||||||
|
|
||||||
=== Aliases
|
=== Aliases
|
||||||
|
|
||||||
Aliases allow recipes to be invoked with alternative names:
|
Aliases allow recipes to be invoked with alternative names:
|
||||||
|
Loading…
Reference in New Issue
Block a user