tauri/cli/tauri.js/api-src/cli.ts

16 lines
258 B
TypeScript
Raw Normal View History

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
}