tauri/tooling/cli/templates/plugin/with-api/webview-src/index.ts
Lucas Fernandes Nogueira 4334865266
refactor(cli): rename tooling/cli.rs folder to tooling/cli (#3388)
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2022-02-10 17:23:10 -03:00

9 lines
187 B
TypeScript

{{#if license_header}}
{{ license_header }}
{{/if}}
import { invoke } from '@tauri-apps/api/tauri'
export async function execute() {
await invoke('plugin:{{ plugin_name }}|execute')
}