SYNTAX
	mfpdev app pull [<server <runtime>> [--password|-p <password>]]
	[--runtime-config | -r]

DESCRIPTION
	Pulls configuration files that are associated with an application from 
	a MobileFirst Server to which the app is registered and places them on the 
	local computer. You can use the mfpdev app pull command to obtain the 
	configuration files from one server and then use the mfpdev app push command
	to send these configuration files to another server. This can be useful if 
	you are moving apps from one server to another, such as from a development 
	server to a production server.
	
	You run the command from a directory or subdirectory of the app whose
	configuration you want to pull.
	
	The configuration information includes the contents of the app's application
	descriptor, which uniquely identifies the app to the server, and other
	information that is specific to the app. You can also pull the runtime 
	that is associated with the app.
	
	The configuration files are provided as compressed files (.zip format). 
	The .zip files are placed in the directory <appName>/mobilefirst. 
	For Cordova apps, a separate .zip file is created for each target platform.
	
	The .zip files are named as follows:
	
	   <app-id>-<platform>-<version>.zip 
	
	For example: myapp-ios-1.0.0.zip

OPTIONS
	<server>: Server profile name of an existing MobileFirst Server to pull the
	configuration files from. The app must be currently registered to this 
	server and the server must be running.
	
	This parameter is optional. If you do not provide this parameter, the 
	default server is used. 
	
	You can set the default server when you define a server profile with 
	'mfpdev server add' or you can make an existing server the default when you
	run 'mfpdev server edit'. If you do not explicitly define a default server 
	and a MobileFirst server is detected that is running locally at
	http://localhost:9080, then this local server is used as the default, and it
	is given the name 'local'.
	
	<runtime>: Only valid when provided with a server name. Specifies
	the runtime on the server that the application will be registered to. The 
	default runtime is 'mfp'.
	
	If this parameter is not specified and there are multiple runtimes on the 
	server, then you are prompted to choose a specific runtime. If the specified
	runtime does not exist on the server, you are prompted to choose an 
	existing runtime.

	[--password|-p <password>]: The password for the server's administrative 
	login ID.  The password specified here must match the password that is 
	defined on the MobileFirst Server. If you do not set this password in the
	local profile for the specified server, you must specify it with this 
	option or you will be prompted for it. 
	
	[--runtime-config | -r] Specifies that the runtime configuration should also
	be pulled from the server. By default the runtime configuration is not 
	pulled.


EXAMPLES
	$ mfpdev app pull
	
	Pulls the application configuration from the default MobileFirst Server.
	
	$ mfpdev app pull myServer runtimeA --password secretPassword -r
	
	Retrieves the application configuration for the app from the runtime
	runtimeA on the server with profile name myServer. The password is 
	specified and the configuration of runtimeA is also pulled.
	
