pjkm.cli.commands.recipes¶
Discovery commands — recommend, recipe.
Attributes¶
Functions¶
|
Recommend package groups for a project type. |
|
Generate a full pjkm init command from a named recipe. |
|
Create a custom recipe and save it for reuse. |
Module Contents¶
- pjkm.cli.commands.recipes.recommend(archetype=typer.Argument(help='Project archetype: single-package, service, poly-repo, script-tool'), preset=typer.Option('', '--preset', '-p', help='Preset profile: minimal, standard, full, ai, data, web'))[source]¶
Recommend package groups for a project type.
Shows which groups are recommended based on archetype and optional preset. Copy the output directly into your pjkm init command.
- pjkm.cli.commands.recipes.recipe(name=typer.Argument('', help='Recipe name: python-lib, fastapi-service, ai-agent, ml-pipeline, data-analysis, cli-tool, fullstack-web, monorepo, scraper, fintech'), show=typer.Option(False, '--show', '-s', help='Show recipe details without generating a command'))[source]¶
Generate a full pjkm init command from a named recipe.
Recipes are opinionated, ready-to-use project configurations that combine an archetype, groups, and fragments into a single command. Use –show to inspect what a recipe includes before running it.
- pjkm.cli.commands.recipes.recipe_create(name=typer.Argument(help='Recipe name (e.g. my-stack)'), archetype=typer.Option('service', '--archetype', '-a', help='Archetype: single-package, service, poly-repo, script-tool'), group=typer.Option([], '--group', '-g', help='Groups to include (repeatable)'), description=typer.Option('', '--description', '-d', help='Recipe description'), output=typer.Option('', '--output', '-o', help='Output file (default: .pjkm/recipes/<name>.yaml)'))[source]¶
Create a custom recipe and save it for reuse.
Custom recipes are saved to .pjkm/recipes/ and loaded alongside built-in recipes. Share them via git or group sources.
Examples
pjkm recipe-create my-stack -a service -g api -g database -g redis -g docker pjkm recipe-create ai-rag -a service -g agents -g rag -g vector_stores -g api