Update flags parsing for cli package changes