Revert "set readme banners to absolute url"

This reverts commit c46b464c69.
This commit is contained in:
Lorenzo Lewis
2023-07-28 19:39:22 +01:00
parent c46b464c69
commit 7cc86edae8
26 changed files with 92 additions and 92 deletions
+4 -4
View File
@@ -1,4 +1,4 @@
![plugin-cli](https://github.com/tauri-apps/plugins-workspace/blob/0417b7ad6047694cf101592ed65b41dc006df5ea/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 {