Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,15 @@ docker run -i -t ghcr.io/tekknolagi/scrapscript:trunk apply "1 + 2"
docker run -i -t ghcr.io/tekknolagi/scrapscript:trunk repl
```

## Advanced usage

```bash
# Create a scrapyard
python3 scrapscript.py yard init /desired/path/to/your/scrapyard
# Evaluates the file and stores the serialized scrap object to the yard
python3 scrapscript.py yard commit /desired/path/to/your/scrapyard SCRAP_NAME SCRAPSCRIPT_FILE
```

## Running Tests

```bash
Expand Down
132 changes: 131 additions & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ version = "0.1.0"

[tool.poetry.dependencies]
python = ">=3.8"
pygit2 = "^1.13.3"

[tool.poetry.group.dev.dependencies]
mypy = "^1.7.0"
Expand Down
Loading