[PATCH v6 2/7] cli: Add support for parsing keyword-flag arguments