Revert "update banners to absolute paths"

This reverts commit c8b8f9309e.
This commit is contained in:
Lorenzo Lewis
2023-07-28 19:48:34 +01:00
parent c8b8f9309e
commit fa28ed881d
27 changed files with 93 additions and 93 deletions
+4 -4
View File
@@ -1,4 +1,4 @@
![plugin-cli](https://github.com/tauri-apps/plugins-workspace/raw/v2/plugins/cli/banner.png)
![plugin-cli](banner.png)
Parse arguments from your Command Line Interface.
@@ -67,12 +67,12 @@ fn main() {
Afterwards all the plugin's APIs are available through the JavaScript guest bindings:
```javascript
import { getMatches } from '@tauri-apps/plugin-cli';
import { getMatches } from "@tauri-apps/plugin-cli";
const matches = await getMatches();
if (matches.subcommand?.name === 'run') {
if (matches.subcommand?.name === "run") {
// `./your-app run $ARGS` was executed
const args = matches.subcommand?.matches.args;
if ('debug' in args) {
if ("debug" in args) {
// `./your-app run --debug` was executed
}
} else {