Skip to content

Commit

Permalink
Update index.md
Browse files Browse the repository at this point in the history
  • Loading branch information
arjunsuresh authored Feb 13, 2025
1 parent b65f84c commit 6503585
Showing 1 changed file with 30 additions and 10 deletions.
40 changes: 30 additions & 10 deletions docs/targets/script/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,17 @@ mlc cp script <user@source_repo>:script <user@target_repo>:script

---

## **Remove (`rm`)**

Deletes one or more scripts from MLC repositories.

**Example Command:**
```bash
mlc rm script --tags=detect,os -f
```

---

## **Run**

Executes a script from an MLC repository.
Expand All @@ -133,6 +144,25 @@ Executes a script from an MLC repository.
mlc run script --tags=detect,os -j
```

**Options:**
- `-j`: Shows the output in a JSON format
- `mlcr` can be used as a shortcut to `mlc run script --tags=`
- `--input`:
- `--path`:
- `--outdirname`:
- `--new`:
- `--force_cache`:
- `--version`:
- `--version_max`:
- `--version_min`:
- `--quiet`:
- `--silent`:
- `-v`:
- *`<Individual script inputs>`: In addition to the above options an `mlcr` command also takes any input specified with in a script meta in `input_mappings` as its input.

<details>
<summary><strong>Example Output</strong> 📌</summary>

---

## **Docker Execution**
Expand Down Expand Up @@ -161,13 +191,3 @@ mlc test script --tags=benchmark

---

## **Remove (`rm`)**

Deletes one or more scripts from MLC repositories.

**Example Command:**
```bash
mlc rm script --tags=detect,os -f
```

---

0 comments on commit 6503585

Please sign in to comment.