ns plugin create <plugin repository name>
Creates a project for building a new NativeScript plugin
Arguments
Name | Description |
---|
plugin repository name | A valid Nativescript plugin repository |
Options
Name | Description |
---|
--path <directory> | Specifies the directory where you want to create the project, if different from the current directory |
--username <username> | Specifies the GitHub username, which will be used to build the URLs in the plugin's package.json file |
--pluginName <name> | Used to set the default file and class names in the plugin source |
--includeTypeScriptDemo | Specifies if a TypeScript demo should be created |
--includeTypeScriptDemo=n | Specifies if TypeScript demo should NOT be created |
--includeAngularDemo | Specifies if an Angular demo should be created |
--includeAngularDemo=n | Specifies if Angular demo should NOT be created |
--template <template> | Specifies the custom seed archive, which you want to use to create your plugin |