mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-12-18 16:11:38 +03:00
2681ad361b
Co-authored-by: Quentin Goinaud <armaldio@gmail.com> Co-authored-by: Lucas Fernandes Nogueira <lucasfernandesnog@gmail.com> Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
16 lines
258 B
TypeScript
16 lines
258 B
TypeScript
import { CliMatches } from './types/cli'
|
|
import { promisified } from './tauri'
|
|
|
|
/**
|
|
* gets the CLI matches
|
|
*/
|
|
async function getMatches(): Promise<CliMatches> {
|
|
return await promisified<CliMatches>({
|
|
cmd: 'cliMatches'
|
|
})
|
|
}
|
|
|
|
export {
|
|
getMatches
|
|
}
|