@plaoc/cli

BFChainAugust 11, 2023
  • Service
  • Service
Less than 1 minute

plaoc front and back end packaging tool.

Installation

  • First install the plaoc CLI tool globally:
npm install -g @plaoc/cli

Usage Syntax

plaoc cmdName distPath --optionParamter paramaterValue

Command explanation:

  • cmdName

    The command name. Valid values:

    • serve

      Starts local server for development tool to download Plaoc Apps.

      Generates the following info in terminal:

      metadata:       http://127.0.0.1:8096/metadata.json
      metadata:       http://172.30.93.43:8096/metadata.json
      
    • bundle Package Plaoc App and generate a release file.

  • distPath

    Path to packaged Plaoc App project directory.

  • --optionParamter

    Option parameters

  • paramaterValue

    Value of option parameter.

Examples

For a project directory structure like:

  • root
    • dist // Packaged project directory
    • manifest.json // Manifest file

Use local server:

plaoc serve ./root/dist --dir ./root

Generate release file package:

plaoc bundle ./root/dist --dir ./root

plaoc app

release

Developer tool

Comments
  • Latest
  • Oldest
  • Hottest
Powered by Waline v2.13.0