An open API service indexing awesome lists of open source software.

https://github.com/bsorrentino/cordova-poc-cli

cordova-poc command line interface
https://github.com/bsorrentino/cordova-poc-cli

Last synced: 7 months ago
JSON representation

cordova-poc command line interface

Awesome Lists containing this project

README

          

> **ANNOUNCEMENT**:
>
> on Apr 24, 2019 the IOS version of this app has been removed by App Store
> from Apple for the reasons state below
>
>Your app appears to be designed for clients or users to preview apps prior to being >submitted to the App Store for review. This type of design allows you to change your >app’s behavior or functionality to differ from the intended and advertised primary purpose of your app, which is not in compliance with [App Store Review Guideline 2.5.2](https://developer.apple.com/app-store/review/guidelines/#software-requirements) and section 3.3.2 of the [Apple Developer Program License Agreement](https://developer.apple.com/terms/).
>
>For this reason, your app will be removed from the App Store. Customers who have previously downloaded this app will continue to have access to it on their devices and will have access to any available in-app purchase products.

# cordova-poc-cli

[cordova-poc](http://bsorrentino.github.io/cordova-poc/) command line interface

## Install

```
> npm install -g cordova-poc

```

## update

```
> npm update -g cordova-poc

```

## Usage

### Create project from an URL

```
> cordova-poc project create --name=
--url=
[--output=]
```
#### project create parameters:
name | mandatory | description
------------- | ------------- |------------- |
name | yes | name of new project |
url | yes | url from which download the source code snippet. Could be either a [JSFiddle](http://jsfiddle.net/) url or a [Codepen](http://codepen.io/) url |
output | no | target folder |

### Open project (and create application manifest)

```
> cordova-poc project open --path=
[--set-name=]
[--set-version=]
[--set-icon]
[--zip]
[--output=]
```
#### project open parameters:

name | mandatory | description
------------- | ------------- |------------- |
path             | yes | path where is locate project |
set-name | no | set the project's name. It defines the app's label in cordova-poc |
set-version | no | Set the preferred cordova version. If set, cordova-poc will not ask for it on app launch. The version must be set using an integer that represent vestion. As example for version '3.0.0' you have to put the number 300 |
set-icon | no | If set, will be showed a list of png files belonging to project and will be asked to select one of them |
zip | no | If set, the folder will be zipped to be ready to upload in order to make it available to cordova-poc (target name will be '<project name>'.zip) |
output | no | Set the output folder for zip (default is 'path' value) |