README.md
# peggy
*NOTE: This package is WIP*
[![Package Version](https://img.shields.io/hexpm/v/peggy)](https://hex.pm/packages/peggy)
[![Hex Docs](https://img.shields.io/badge/hex-docs-ffaff3)](https://hexdocs.pm/peggy/)
```sh
gleam add peggy
```
```gleam
import peggy
pub fn main() {
// creates a 5 second video of black screen
peggy.new_command()
|> peggy.fmt("lavfi")
|> peggy.input("color=c=black:s=1920x1080:d=5")
|> peggy.video_codec("libx264")
|> peggy.duration("5")
|> peggy.output("output.mp4")
|> peggy.exec_sync
}
```
Further documentation can be found at <https://hexdocs.pm/peggy>.
## Development
```sh
gleam run # Run the project
gleam test # Run the tests
gleam shell # Run an Erlang shell
```