jellycell.cli.commands.init

jellycell init — scaffold a new project.

Module Contents

Classes

InitReport

JSON schema for jellycell init --json. Spec §10.1 contract.

Functions

init

Create jellycell.toml and the canonical project layout.

API

class jellycell.cli.commands.init.InitReport(/, **data: Any)

Bases: pydantic.BaseModel

JSON schema for jellycell init --json. Spec §10.1 contract.

Initialization

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.

schema_version: int

1

path: str

None

name: str

None

created: list[str]

None

agents_md_hint: str | None

None

jellycell.cli.commands.init.init(ctx: typer.Context, path: pathlib.Path = typer.Argument(Path(), help='Directory to initialize.'), name: str | None = typer.Option(None, '--name', help='Project name. Defaults to the target directory name.'), force: bool = typer.Option(False, '--force', help='Overwrite an existing jellycell.toml.')) None

Create jellycell.toml and the canonical project layout.