adds auto complete and mapping for cli