sparrow_cli 1.1.0-experimental.1
sparrow_cli: ^1.1.0-experimental.1 copied to clipboard
Build Sparrow Kit and supported Flutter-style web applications.
Sparrow CLI #
Sparrow CLI creates and builds Sparrow Kit sites and builds supported
Flutter-style projects for the web. It requires Dart >=3.9.0 <4.0.0.
Version 1.1.0-experimental.1 · MIT License
Install #
Activate globally to use the sparrow command from any directory:
dart pub global activate sparrow_cli 1.1.0-experimental.1
Ensure Dart's global executables directory is on PATH.
Or add the CLI to a project's development dependencies:
dart pub add dev:sparrow_cli:1.1.0-experimental.1
Use the project-local CLI by prefixing commands with dart run sparrow_cli,
for example:
dart run sparrow_cli kit build web
For kit build web, install Flutter and use its Dart SDK.
Commands #
sparrow init <directory>creates a Sparrow Kit project.sparrow add web <app-directory>adds web support to a Flutter app.sparrow devruns a Sparrow Kit development server with live reload.sparrow build webbuilds a Sparrow Kit site.sparrow kit build webbuilds a supported Flutter-style project for the web.
Documentation #
See the Flutter compiler guide for supported Flutter-style source and compiler limits.