dshoreman / nextshot

A simple tool for taking screenshots on Linux and sharing via Nextcloud

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Config can be specified with missing options

dshoreman opened this issue · comments

Currently NextShot only checks for the existence of the config file. As long as it's there, it could be completely empty and NextShot will happily try to run with it.

Add checks using parameter substitution with error messages to make sure required options are indeed set before attempting to do anything else.