Skip to content

Commit 83bd101

Browse files
authored
Merge pull request #131 from akshgpt7/cli-improvements
Add README to metacallcli
2 parents 6fe0811 + 6e8294f commit 83bd101

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

source/cli/metacallcli/README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# MetaCall CLI
2+
3+
## About
4+
5+
MetaCall provides a Command Line Interface which supports all MetaCall functionalities such as loading, calling, awaiting scripts.
6+
7+
Use the `metacall` command in your shell after [installing](https://github.com/metacall/install) MetaCall to launch the CLI.
8+
9+
## Currently Available Commands
10+
11+
- `help`: Show help for MetaCall CLI (**Use this command to see the usage of a particular command**)
12+
- `load`: Load a script from file into MetaCall
13+
- `inspect`: Show all runtimes, modules and functions (with their signature) loaded into MetaCall
14+
- `call`: Call a function previously loaded in MetaCall (Note: For `js` and `py` functions that do not return anything, the default return value is a `null`)
15+
- `await`: Await an async function previously loaded in MetaCall
16+
- `clear`: Delete a script previously loaded in MetaCall
17+
- `exit`: Exit from MetaCall CLI

0 commit comments

Comments
 (0)