dartway_cli 0.7.0 copy "dartway_cli: ^0.7.0" to clipboard
dartway_cli: ^0.7.0 copied to clipboard

DartWay command-line tool: print the agent setup brief, check prerequisites, create projects from the canonical template, install the AI toolkit, run convention checks.

example/README.md

Example — from nothing to a running fullstack app #

dart pub global activate dartway_cli
dartway create my_app

Eighteen seconds later you have three packages — my_app_server, my_app_client (generated), my_app_flutter — and the AI toolkit in .claude/.

cd my_app/my_app_server
docker compose up -d                       # Postgres
dart bin/main.dart --apply-migrations      # schema
dart bin/main.dart                         # the server

# in another terminal
cd ../my_app_flutter
flutter run

Register from the app with your own phone number; the one-time code is printed to the server console. Put that same number in bootstrapAdminIdentifier in config/passwords.yaml before starting the server and the account is the admin — the role is granted by an admin, so the first one is declared per environment.

What you get is a skeleton, not somebody's product: phone auth, a UserProfile with roles, navigation with zone guards, an admin panel, a UI kit as source you own — and no domain models, because the domain is the part you write.

The other commands #

dartway check     # the conventions, enforced: file length, styles outside the kit, feature layout
dartway stats     # code size per feature — what actually grew this week
dartway setup-ai  # install or update the AI toolkit (.claude/) in an existing project

Options worth knowing #

dartway create my_app --channel master        # the development trunk instead of `stable`
dartway create my_app --local-repo ../dartway # a local monorepo checkout, no clone
dartway create my_app --no-git                # skip the initial commit

dartway check is the same checker the course uses to validate homework, and the same one an AI agent runs before it claims to be done.

0
likes
140
points
356
downloads

Documentation

API reference

Publisher

verified publisherdartway.dev

Weekly Downloads

DartWay command-line tool: print the agent setup brief, check prerequisites, create projects from the canonical template, install the AI toolkit, run convention checks.

Homepage
Repository (GitHub)
View/report issues

Topics

#dartway #cli #serverpod #flutter #fullstack

License

Apache-2.0 (license)

Dependencies

args, path, yaml

More

Packages that depend on dartway_cli