diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-07-28 20:49:06 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-07-28 20:49:06 +0800 |
| commit | 8e7974651069c424b4386011f66adec291dc5b97 (patch) | |
| tree | c8debe5dcda253513370644ae04c71e6af3d5d4f /examples/example-command-macro/page.toml | |
| parent | 16999dd66dc6162184790ef5480d483d0fb81f4a (diff) | |
feat(example): add command macro example
Diffstat (limited to 'examples/example-command-macro/page.toml')
| -rw-r--r-- | examples/example-command-macro/page.toml | 10 |
1 files changed, 10 insertions, 0 deletions
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"] |
