spark init

Creates an example configuration in your project. Run this once to scaffold a starting point.

spark init

This generates:

  • spark.yaml — a sample config file with a shared service definition
  • hello.spark — a sample test file that uses the shared service

From there, edit the files to match your project and run spark run to execute.