
SYNTAX
	mfpdev app export [<server <runtime>> [--password|-p <password>]]

DESCRIPTION
	Exports configuration that are associated with the application from 
	a MobileFirst Server to app_config.json under 'mfpconfig' folder.
	
	You must run this command from the root directory of your app or one of 
	its subdirectories. At least one server profile must exist. 

	The data about the app is extracted from the following platform properties
	files, depending on the app type:

	   Cordova - config.xml
	   iOS native - Info.plist
	   Android native - AndroidManifest.xml

	If the application name, version number, or app ID cannot be determined,
	you are prompted to enter them.


OPTIONS
	<server>:  Name of an existing MobileFirst Server to export the app from.
	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 exported from. 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, you are
	prompted for the administrative password for all server management tasks.
	There is no default password.

EXAMPLES
	$ mfpdev app export myServer runtimeA --password secretPassword
	
	Exports the application from server myServer, using the runtimeA runtime. The
	server password is 'secretPassword'.	
