Document --unsorted flag in readme (#672)

This commit is contained in:
Casey Rodarmor 2020-09-01 12:44:53 -07:00 committed by GitHub
parent 551a22b5fc
commit c62ff5a3d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: