cli set defaults and parse flags

Signed-off-by: Mario Kozjak <kozjakm1@gmail.com>