Skip to main content
Version: Next

serverpod run

serverpod run runs a script defined in the serverpod/scripts section of your pubspec.yaml. Pass --list to see the available scripts.

See Run scripts.

Usage

Run a script defined in the "serverpod/scripts" section of pubspec.yaml.

Usage: serverpod run <script-name>
-h, --help Print this usage information.
--script The name of the script to run.
-l, --[no-]list List all available scripts.

Run "serverpod help" to see global options.