pjkm.cli.commands.adopt¶
Adopt and status commands — integrate pjkm with existing projects.
Functions¶
Module Contents¶
- pjkm.cli.commands.adopt.adopt(directory=typer.Option('', '--dir', '-d', help='Project directory to scan (default: cwd)'), apply=typer.Option(False, '--apply', help='Actually apply detected groups (default: just show suggestions)'))[source]¶
Scan an existing project and suggest pjkm groups to adopt.
Reads pyproject.toml, requirements files, and project structure to detect what frameworks, tools, and patterns are already in use, then maps them to pjkm groups.
Examples
pjkm adopt # scan cwd, show suggestions pjkm adopt –dir ../myapi # scan another project pjkm adopt –apply # scan and apply detected groups
- pjkm.cli.commands.adopt.status(directory=typer.Option('', '--dir', '-d', help='Project directory (default: cwd)'))[source]¶
Show the pjkm status of a project.
Displays applied groups, archetype, dependency drift, and available upgrades. Like git status but for your project scaffolding.
- Parameters:
directory (str)
- Return type:
None