cli: add edit command