jellycell.cli.commands.init¶
jellycell init — scaffold a new project.
Module Contents¶
Classes¶
JSON schema for |
Functions¶
Create |
API¶
- class jellycell.cli.commands.init.InitReport(/, **data: Any)¶
Bases:
pydantic.BaseModelJSON 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.selfis explicitly positional-only to allowselfas a field name.
- 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.tomland the canonical project layout.