add api

Generates a new native API into the apps folder of the current project.

Syntax

mfp add api [<name> --environment|-e ios|android|javame|windowsphone8|windows8|windowsphoneuniversal]

Parameters

<name>
The name that you want for the generated native API.
--environment|-e ios|android|javame|windowsphone8|windows8|windowsphoneuniversal
The environment or mobile platform.

Usage

Run this command in your current working directory.