Skip to content

Commit 73312ca

Browse files
jawwad-aliclaude
andcommitted
docs(installation): document the 'py' (Python) script type
The installation guide's "Specify Script Type" section only showed `--script sh` and `--script ps`, and the installed-variant list only mentioned `.specify/scripts/bash/` and `.specify/scripts/powershell/`. The CLI has a third script type, `py`: `SCRIPT_TYPE_CHOICES` in `_agent_config.py` includes `"py": "Python"`, and `shared_infra.py` installs a `python/` variant directory (plus the platform shell fallback) when `--script py` is chosen. Add the missing `--script py` force example and a `.specify/scripts/python/` bullet so the docs match the code. Docs-only. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent d7699c3 commit 73312ca

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

docs/installation.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ Force a specific script type:
9292
```bash
9393
specify init <project_name> --script sh
9494
specify init <project_name> --script ps
95+
specify init <project_name> --script py
9596
```
9697

9798
### Ignore Agent Tools Check
@@ -131,6 +132,7 @@ Scripts are installed into a variant subdirectory matching the chosen script typ
131132

132133
- `.specify/scripts/bash/` — contains `.sh` scripts (default on Linux/macOS)
133134
- `.specify/scripts/powershell/` — contains `.ps1` scripts (default on Windows)
135+
- `.specify/scripts/python/` — contains `.py` scripts (chosen with `--script py`; also installs the platform shell fallback)
134136

135137
## Troubleshooting
136138

0 commit comments

Comments
 (0)