mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-12-19 16:41:34 +03:00
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
|
||
|
}
|