mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-04-27 11:56:05 +02:00
c8e5614063
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: FabianLars <fabianlars@fabianlars.de>
30 lines
677 B
Svelte
30 lines
677 B
Svelte
<script>
|
|
import { getMatches } from '@tauri-apps/plugin-cli'
|
|
|
|
export let onMessage
|
|
|
|
function cliMatches() {
|
|
getMatches().then(onMessage).catch(onMessage)
|
|
}
|
|
</script>
|
|
|
|
<div>
|
|
This binary can be run from the terminal and takes the following arguments:
|
|
<code class="code-block flex flex-wrap my-2">
|
|
<pre>
|
|
--config <PATH>
|
|
--theme <light|dark|system>
|
|
--verbose</pre>
|
|
</code>
|
|
Additionally, it has a <code>update --background</code> subcommand.
|
|
</div>
|
|
<br />
|
|
<div class="note">
|
|
Note that the arguments are only parsed, not implemented.
|
|
</div>
|
|
<br />
|
|
<br />
|
|
<button class="btn" id="cli-matches" on:click={cliMatches}>
|
|
Get matches
|
|
</button>
|