Skip to main content

twk_dev 0.1.0 copy "twk_dev: ^0.1.0" to clipboard
twk_dev: ^0.1.0 copied to clipboard

Developer tools for apps built on twk, as the `twk` command: create an app, run it hot reloaded, inspect it, read its logs, record and play it.

example/README.md

Examples #

tally.dart is an app to try the twk command on: Up and Down choose a line, + and - count it, q quits; each count goes to the app's log. tally.tape records a session of it. From the package's directory:

dart run twk_dev:twk run example/tally.dart     # hot reloaded
dart run twk_dev:twk logs                       # its log, in another terminal
dart run twk_dev:twk inspect                    # its widgets, in another terminal
dart run twk_dev:twk tape example/tally.tape    # build/tally.cast and .svg

An app of your own starts from a template:

dart pub global activate twk_dev
twk create my_app
cd my_app && dart run twk_dev:twk run bin/main.dart

The package's README walks through the tools with the tally.

1
likes
0
points
1.16k
downloads

Publisher

verified publisherpro100.dev

Weekly Downloads

Developer tools for apps built on twk, as the `twk` command: create an app, run it hot reloaded, inspect it, read its logs, record and play it.

Repository (GitHub)
View/report issues

Topics

#terminal #tui #cli #hot-reload #devtools

License

unknown (license)

Dependencies

args, mold, path, twk, twk_core, twk_term, vm_service

More

Packages that depend on twk_dev