Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I pull the latest Cloud Code?

I need to use the command line tool provided by Parse.com to get the latest Cloud Code from my application, how can I do that? I'm working with a team and can not overwrite the existing Cloud Code.

like image 452
David L. Rodgers Avatar asked Jul 04 '14 23:07

David L. Rodgers


2 Answers

You can now download deployed Cloud Code through the CLI.

Through the command prompt (on Windows) type:

parse new

Parse will then ask you to provide your user credentials. Once provided, the command prompt will ask, Would you like to create a new app, or add Cloud Code to an existing app? Choose (e)xisting, and you will be provided with a list of apps you currently have access to to choose from and the rest is cake.

Make sure you update the Parse CLI in order to get this work by using:

parse update
like image 126
crymson Avatar answered Nov 15 '22 21:11

crymson


You can use parse download command:

parse download -l [location]

Works great in our team. For more information about the command use parse download --help.

Note: if no location is provided, code will be downloaded to a temporary folder.

like image 22
user2183919 Avatar answered Nov 15 '22 20:11

user2183919