register cmd