Skip to main content

attr.command

#[command]

Mark a function as a command handler. It creates a wrapper function with the necessary glue code.

Stability#

The output of this macro is managed internally by Tauri, and should not be accessed directly on normal applications. It may have breaking changes in the future.