Skip to content

Commit

Permalink
Post review update.
Browse files Browse the repository at this point in the history
  • Loading branch information
slimslenderslacks committed Oct 9, 2024
1 parent f6ed8a3 commit b9cb31e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions functions/tree-sitter/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,16 @@ The tool streams back a series of json code ranges.

## Aside on tool creation

This tool itself was generated by an LLM.
This tool itself was co-authored alongside gpt-4.

## Using the container

The tool can also be called directly using `docker run`.

```sh
docker run --rm -i vonwig/tree-sitter -lang python -query "(module (function_definition) @top-level)" < <(echo "def hello():\n\tprint(\"hello\")")
docker run --rm -i vonwig/tree-sitter \
-lang python \
-query "(module (function_definition) @top-level)" \
< <(echo "def hello():\n\tprint(\"hello\")")
```

0 comments on commit b9cb31e

Please sign in to comment.