fx_cli 0.1.0
fx_cli: ^0.1.0 copied to clipboard
fx - Full-stack development CLI for PandaGo.
fx_cli #
fx - Full-stack development CLI for PandaGo.
Features #
fx doctor— Check development environment health (Flutter, Rust, MySQL, .env)fx run server— Start the Rust backend with .env validation and database connectivity testfx run client— Run the Flutter client (passes all args to flutter run)fx.yamlproject configuration (SDK versions, SDK paths, database)
Installation #
dart pub global activate fx_cli
Quick Start #
Create fx.yaml in your project root:
project:
name: MyProject
server:
rust:
sdk_version: 1.90.0
client:
flutter:
sdk_version: 3.44.0
sdk_path:
windows: D:\SDK\Flutter\flutter_stable\flutter
database:
mysql:
version: 8.0
port: 3306
Then run:
fx doctor # Check environment
fx run server # Start backend
fx run client # Start Flutter app
License #
Apache 2.0 - see LICENSE