register platform-add command