diff --git a/dev/README.md b/dev/README.md index bbf68c5d25c2..3a3fa1e25921 100644 --- a/dev/README.md +++ b/dev/README.md @@ -4,16 +4,18 @@ This project is designed to provide dev tools for the entire opendal project. ## Usage +List all available recipes: + ```bash -cargo o help +just --list ``` -## Features +## Recipes ### Generate Generate code for OpenDAL services. ```bash -cargo o generate -l python +just generate python ``` diff --git a/.cargo/config.toml b/justfile similarity index 82% rename from .cargo/config.toml rename to justfile index 3c81232ab2af..e1f50c6bfcb9 100644 --- a/.cargo/config.toml +++ b/justfile @@ -15,5 +15,8 @@ # specific language governing permissions and limitations # under the License. -[alias] -o = "run --manifest-path ./dev/Cargo.toml --" +# Generate code for language +# +# Available languages: python +generate language: + cargo run --quiet --manifest-path=dev/Cargo.toml -- generate -l {{language}}