From 8e7974651069c424b4386011f66adec291dc5b97 Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Tue, 28 Jul 2026 20:49:06 +0800 Subject: feat(example): add command macro example --- examples/example-command-macro/page.toml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 examples/example-command-macro/page.toml (limited to 'examples/example-command-macro/page.toml') diff --git a/examples/example-command-macro/page.toml b/examples/example-command-macro/page.toml new file mode 100644 index 0000000..fe36d7a --- /dev/null +++ b/examples/example-command-macro/page.toml @@ -0,0 +1,10 @@ +[example] +id = "example-command-macro" +name = "Command Macro" +icon = "🚀" +category = "advanced" +desc = """ +Introduced how to use the `#[command]` macro to generate commands with minimal boilerplate +""" +tags = ["#[command]", "dispatcher!", "#[chain]"] +files = ["src/main.rs", "Cargo.toml"] -- cgit