Metadata-Version: 2.4
Name: spectask-init
Version: 0.1.15
License-Expression: MIT
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: PyYAML>=6
Provides-Extra: dev
Requires-Dist: pytest>=8; extra == "dev"
Dynamic: license-file

# spectask-init

Thin installer for the Spec-Tasks methodology via [Spawn](https://github.com/noant/spawn-cli).

**Prerequisite:** [uv](https://docs.astral.sh/uv/) on `PATH`.

**Run `spectask-init init`:**

```bash
uvx spectask-init@latest init
```

This runs `uv tool install|upgrade spawn-cli`, then `spawn init`, installs [spawn-ext-spectask](https://github.com/noant/spawn-ext-spectask), auto-registers IDEs detected in the repo, and prints an INFO line.

**Update the tool on the next `uvx` run:**

```bash
uvx spectask-init@latest init
```

If resolution metadata for the package looks stale, refresh the cache:

```bash
uvx --refresh-package spectask-init spectask-init init
```

**Ongoing work** — use Spawn directly:

```bash
spawn extension update spectask
spawn ide add cursor
```

See [spawn-ext-spectask](https://github.com/noant/spawn-ext-spectask) for skills and process.

## Install from source

```bash
git clone <this-repo-url>
cd spectask-cli
pip install .
spectask-init init
# or: python -m spectask_init init
```

## pip install (global / venv)

```bash
pip install spectask-init
spectask-init init
```

## Maintainer: tests and publishing

From the repo root, with [uv](https://docs.astral.sh/uv/) on `PATH`.

**Tests:**

```bash
uv sync --extra dev
uv run pytest tests
```

**Publish to PyPI** — set a [PyPI API token](https://pypi.org/manage/account/) and run:

```bash
export spectask_publish_pypi_token=pypi-...   # or: python scripts/publish.py --token pypi-...
python scripts/publish.py
```
