live library
Nylo Live: commands that run inside your running app.
Import this in live commands (lib/app/commands/) and in
lib/bootstrap/live_commands.dart. While the app runs in debug mode,
metro <category>:<name> sends a command to it, and the built-in
metro live:* commands inspect and drive it.
Classes
- CommandBuilder
- Declares the options and flags of a LiveCommand.
- CommandResult
- The parsed arguments a LiveCommand receives.
- LiveCommand
- A command that runs inside your running app, triggered from Metro.
- NyLive
- Exposes live commands to Metro while the app runs in debug or profile mode.
-
Streams navigation changes to Metro as
nylo.routeevents. - Seeder
- Puts a running app into a known state, and takes it back out.
- StorageSnapshot
-
What an app holds in
NyStorageandBackpack, in a form that can be kept in a file or a seeder and put back into an app.
Mixins
- LiveOutput
- Writes lines to the terminal that ran a live command or seeder.
Exceptions / Errors
- LiveException
- A live command failed in a way Metro should show to the developer.