Generate new command for pull/push