ardera/flutterpi_tool — reverse-engineered prompt
Reverse engineered prompt
Build me a Dart command line tool that makes it easy to develop and ship Flutter apps to Flutter Pi devices like Raspberry Pis.
I want users to be able to install it globally with Flutter, run a simple help command, add a device using something like a login and host name, list saved or reachable devices, then run a Flutter app on one of them without doing all the manual bundling and copying themselves. It should support commands for precaching needed binaries, building a Flutter Pi asset bundle, and running the app in debug or profile mode.
Please make the CLI feel polished, with clear errors, verbose logging, a device id option, and friendly output like the normal Flutter tool. Include support for custom display size, custom device names, Yocto style Flutter Pi file layouts, and choosing a specific Flutter Pi binary when building. Look up current Flutter and Dart CLI docs online if you need to.
Want more depth? Deep Reverse