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

https://github.com/astroxnetwork/flutter_webf_cli


https://github.com/astroxnetwork/flutter_webf_cli

Last synced: 11 months ago
JSON representation

Awesome Lists containing this project

README

          

## Command Line Tools for WebF [![npm](https://img.shields.io/npm/v/@openwebf/cli)](https://www.npmjs.com/package/@openwebf/cli)

You can install webf CLI with npm (you may need to use sudo on Linux or macOS):

```
npm install -g @openwebf/cli
```

Plaform support:

- [x] macOS
- [x] Linux
- [x] Windows

## Usage

**webf run**

```sh
Usage: webf run [options] [bundle|url]

Start a webf app.

Options:
-b --bundle Bundle path. One of bundle or url is needed, if both determined, bundle path will be used.
-u --url Bundle URL. One of bundle or URL is needed, if both determined, bundle path will be used.
-i --instruct instruct file path.
-s, --source Source code. pass source directory from command line
-m --runtime-mode Runtime mode, debug | release. (default: "debug")
--enable-webf-js-log print webf js to dart log (default: false)
--show-performance-monitor show render performance monitor (default: false)
-d, --debug-layout debug element's paint layout (default: false)
-h, --help output usage information
```

**webf qjsc**

```
Usage: webf qjsc [options] [destination]

convert javascript code to quickjs bytecode.

Options:
--pluginName [pluginName] the flutter plugin name.
--dart export dart source file contains bytecode.
-h, --help output usage information
```