move the common code between all the cute command in utils

Created by  irevoire  on January 20, 2021
KSLI6S43M2RU7MMFOSNUIISHJECRZIP3YVMUXHJBAKYXXDMDE5KAC
Change contents