https://github.com/astroxnetwork/flutter_webf_cli
https://github.com/astroxnetwork/flutter_webf_cli
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/astroxnetwork/flutter_webf_cli
- Owner: AstroxNetwork
- License: apache-2.0
- Created: 2023-07-28T09:47:45.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-11-14T09:50:40.000Z (over 1 year ago)
- Last Synced: 2025-07-19T03:44:31.917Z (11 months ago)
- Language: C++
- Homepage: https://github.com/openwebf/cli
- Size: 377 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Command Line Tools for WebF [](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
```