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

https://github.com/liquidplayer/liquidcore-cli

Command line interface for LiquidCore
https://github.com/liquidplayer/liquidcore-cli

liquidcore

Last synced: 11 months ago
JSON representation

Command line interface for LiquidCore

Awesome Lists containing this project

README

          

# liquidcore-cli

Command-line utilities for [LiquidCore](https://github.com/LiquidPlayer/LiquidCore).

[![Download](https://img.shields.io/npm/dt/liquidcore-cli.svg)](https://www.npmjs.com/package/liquidcore-cli)

[![NPM](https://nodei.co/npm/liquidcore-cli.png)](https://nodei.co/npm/liquidcore-cli/)

## Installation
npm install -g liquidcore-cli

## Usage

```
Usage:
liquidcore [command]

Examples:
liquidcore init myJSProject
liquidcore gradle --dev --version='0.6.0'
liquidcore pod MyiOSProject --liquidcore=~/projects/LiquidCore

Commands:
init Initialize a JavaScript project for use with LiquidCore
gradle Generate liquidcore.build.gradle and liquidcore.settings.gradle
include files for Android project.
pod Generates a Podfile for iOS project to stdout.

For more information on each command, specify the --help option, e.g.
liquidcore pod --help
```

To create a new LiquidCore project:

liquidcore init myProject

If `myProject` does not exist, this will create the directory and fill it with a simple
Hello World service. If `myProject` already exists as a directory, the project directory
will be modified for use with LiquidCore.

Once the project is created/updated, run:

cd myProject && npm install

to complete installation.

From here, you can run a dev server by:

npm run server

Which will open a metro server at `http://localhost:8082`. You can add the `--help` option to any
command to get detailed information on options (e.g. `npm run server -- --help`).

## License

Copyright 2018-2019 LiquidPlayer

This project is distributed under the MIT license. See LICENSE.md for terms.