Required field is added for CLI commands. MarkRequired function change required parameter. Closes #2861 Signed-off-by: Ekaterina Pavlova <ekt@morphbits.io>
This makes code less verbose and performs all parsing before invoking main function.