Skip to content

Commit bf13e7a

Browse files
committed
docs: document Flet passthrough CLI commands (build, pack, debug, serve, doctor)
1 parent 2d7f920 commit bf13e7a

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

docs/getting-started/fletx-cli.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -412,6 +412,30 @@ fletx check --json
412412
| `--coverage` | flag | Generate coverage report |
413413
| `--pdb` | flag | Debug on failure |
414414

415+
### Flet Passthrough Commands
416+
417+
FletX wraps all standard Flet CLI commands. These pass arguments directly to the Flet CLI:
418+
419+
| Command | Purpose |
420+
|---------|---------|
421+
| `fletx build <target>` | Build Flet app for target platform (apk, ipa, web, etc.) |
422+
| `fletx debug <target>` | Debug a running Flet application |
423+
| `fletx pack <target>` | Package a Flet app for distribution |
424+
| `fletx publish <target>` | Publish app to stores |
425+
| `fletx serve <target>` | Start a Flet server |
426+
| `fletx emulators` | List available device emulators |
427+
| `fletx devices` | List connected development devices |
428+
| `fletx doctor` | Check Flet CLI environment and dependencies |
429+
430+
Each command exposes the same flags and options as the underlying `flet` CLI. Run `fletx <command> --help` for full argument details.
431+
432+
```bash
433+
# Examples
434+
fletx build web # Build for web
435+
fletx pack --name myapp # Package with custom name
436+
fletx doctor # Check environment
437+
```
438+
415439
---
416440

417441
## Best Practices

0 commit comments

Comments
 (0)