about summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* Add cpanfileAndinus2020-08-211-0/+2
|
* Restructure code, remove OpenBSD::UnveilAndinus2020-08-211-40/+12
| | | | | | | | | | Moved the main logic to top. This program is too small to benefit from OpenBSD::Unveil. <pardis> unveil doesn't cross execve That's why `mg' was able to edit the file even when I hadn't asked for write permission.
* Add edit feature, unveil_fortune_file functionAndinus2020-08-211-6/+30
| | | | unveil_fortune_file will unveil the file & return the path.
* Check if $ARGV[0] exists before plugging it in $dispatchAndinus2020-08-211-1/+2
| | | | It would've failed if user just ran `lyra' passing no arguments.
* Initial commitAndinus2020-08-204-0/+82