pending move cli into separate module