File size: 677 Bytes
2d8be8f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<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 &lt;PATH&gt;
  --theme &lt;light|dark|system&gt;
  --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>