so far all the arguments were being handled as separate getopts
flags introducing a lot of boilerplate code for every new flag.
The new approach improves the arguments handling by using env
variables.
Signed-off-by: Redouane Kachach <rkachach@redhat.com>