implement CLI remove action