refine cli