Require cli in lib