Pass `rest` to a command
Update `cd` command