Pull cli into document