Skip to content

Commit

Permalink
docs: add a code example
Browse files Browse the repository at this point in the history
  • Loading branch information
Kremilly committed Jun 11, 2024
1 parent 4b11089 commit 1eebf9d
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,28 @@ For more help and document, see our documentation:
- [Providers](https://scibun.github.io/ScimonDocs/providers.html)
- [Scimon.yml file](https://scibun.github.io/ScimonDocs/scimon.yml-file.html)
- [.env file](https://scibun.github.io/ScimonDocs/env-file.html)
- [External Resources Usage](https://scibun.github.io/ScimonDocs/external-resources.html)
- [External Resources Usage](https://scibun.github.io/ScimonDocs/external-resources.html)

## Example of code and execute

```monset
path = "downloads/"
open = "https://scibun.com"
readme = "https://example.com/readme-example.md"
checksum = "https://example.com/scimon.sha256"
checksum.unmatch = "keep"
downloads {
https://example.com/file1.pdf !ignore
https://example.com/file2.pdf
https://example.com/file3.pdf !ignore
https://example.com/file4.pdf
}
```

Run the command:

```bash
scimon -r scimon.mon
```

0 comments on commit 1eebf9d

Please sign in to comment.