Search code examples
parse-platformterminalcloneparse-cloud-codecommand-line-tool

Is it possible to clone existing cloud code already deployed on server side, through the Parse command line tool?


How can I clone an existing Parse Cloud Project files to my computer with the command line tool? I tried parse new and selected a project but it created a folder with new files, not the files that I already had in the Parse Cloud.

Note: I did not find clue regarding that point in the Parse cloud code documentation neither via Google.

Thanks!


Solution

  • Note this is now possible (2016), with new features at Parse.


    Response from a Parse engineer:

    "This is by design, which means that maybe we will include this feature one day. For the moment, the CLI tool cannot pull files from cloud code. The tool can only deploy code to Parse, it is not meant to be used in place of source control.

    Thanks."

    I spent a lot of time looking up an answer (on Google and the closed Parse forum) to this unanswered question. I finally had an answer from a Parse engineer, after having asked them on the Parse/Facebook bug tracker system, if it was possible to clone existing cloud code.

    So I hope this answer will help you guys.