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 test
  • fx run client — Run the Flutter client (passes all args to flutter run)
  • fx.yaml project 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