Command implementation based on `wrap-range` and `unwrap-range`