deploy command: add build egg method