spark enable
Quick project-level setup without interactive prompts.
Synopsis
spark enableDescription
spark enable configures Spark for the current project in a single command. Unlike spark init, it skips all interactive prompts and applies project-level defaults automatically. This makes it ideal for scripting, CI environments, or when you just want to get going fast.
The command detects your IDE from the project environment and installs the appropriate integration. It always operates at the project level — it does not modify global configuration.
If you need more control over the setup (choosing a specific IDE or global scope), use spark init instead.
Arguments
This command has no arguments.
Flags
This command has no additional flags beyond global flags.
Examples
Enable Spark in a project
cd my-project
spark enableScript-friendly setup
# One-line project setup (install, auth, enable)
npm install -g @memco/spark && spark login && spark enableEnable across multiple projects
for dir in project-a project-b project-c; do
(cd "$dir" && spark enable)
doneRelated commands
spark init— Interactive setup with IDE and scope selectionspark disable— Remove Spark from the current projectspark status— Verify setup and configuration- Global Flags — Flags available on all commands