From 941a40e05130987eb5c4903a0402465ae47e57a4 Mon Sep 17 00:00:00 2001 From: Greg Shuflin Date: Fri, 27 Jan 2023 00:04:44 -0800 Subject: [PATCH] Update README to reflect new attribute syntax (#1538) --- README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/README.md b/README.md index b06f6f1..4dd5dca 100644 --- a/README.md +++ b/README.md @@ -1232,6 +1232,24 @@ Recipes may be annotated with attributes that change their behavior. | `[macos]` | Enable recipe on MacOS. | | `[unix]` | Enable recipe on Unixes. | | `[windows]` | Enable recipe on Windows. | +| `[private]` | See "Private Recipes". | + +A recipe can have multiple attributes, either on multiple lines: + +```just +[no-cd] +[private] +foo: + echo "foo" +``` + +Or separated by commas on a single line: + +```just +[no-cd, private] +foo: + echo "foo" +``` #### Enabling and Disabling Recipes