sprawl create
📌 1. The Target Problem
When starting a new project, developers have to manually copy over .cursorrules, set up local model exclusion files, and copy prompt instructions. This leads to configuration errors, missing safety guidelines, and environment leakage.
⚙️ 2. Usage & Options
sprawl create <workspace> [--path PATH]
Options & Flags
--path <path>: Specify a custom directory to create the project in. Defaults to the current directory.-y, --non-interactive: Bypass setup questionnaires and use default configuration templates.
🔍 3. How it Works (Under the Hood)
- Initializes the target project directory paths securely.
- Provisions a clean local
.agents/folder and registers a defaultsprawl_manifest.ymltemplate. - Registers the new workspace path in the global tracking database stored at
~/.sprawl/workspaces/.
🩺 4. Troubleshooting
- Error: Path already exists
- Resolution: Select a clean folder or specify a custom destination path using the
--pathoption.