Skip to content

Commit

Permalink
Update CLI app docs (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
AzimMuradov authored Oct 5, 2024
1 parent 12e38e3 commit 9ce50f4
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ Available options:
Available commands:
run Run MiniML program
compile Compile MiniML program to the provided target
print-c-runtime Print C runtime
```

```
Expand All @@ -96,7 +97,8 @@ Usage: miniml compile [FILE] [-t|--target TARGET] [-o|--output OUTPUT]
Available options:
FILE Program file path (optional)
-t,--target TARGET Compilation target (binary|llvm-ir) (default: binary)
-t,--target TARGET Compilation target (binary|llvm-ir|risc-v-asm)
(default: binary)
-o,--output OUTPUT Output file path (default: filename taken from the
MiniML program)
-h,--help Show this help text
Expand All @@ -105,6 +107,21 @@ Global options:
-d,--debug Execute in debug mode
```

```
Print C runtime
Usage: miniml print-c-runtime [-o|--output OUTPUT]
Print C runtime
Available options:
-o,--output OUTPUT Output file path (default: runtime.c)
-h,--help Show this help text
Global options:
-d,--debug Execute in debug mode
```

## Developer Documentation

**Build Requirements**
Expand Down

0 comments on commit 9ce50f4

Please sign in to comment.