Skip to content

Conversation

@archandatta
Copy link
Contributor

@archandatta archandatta commented Dec 9, 2025

This PR competes the remaining work for KERNEL-374


Note

Implements the kernel create flow with template selection and overwrite prompts, adds deploy/invoke guidance per template, expands tests, and updates README docs.

  • Create CLI:
    • Implement kernel create with create.CreateInput type, interactive prompts, and overwrite confirmation via PromptForOverwrite.
    • Copies template files with spinner feedback; handles existing dirs by optional removal.
    • Refactor install flow: InstallDependencies(appPath, CreateInput); prints tailored next steps on failure/missing tools.
  • Templates & Commands:
    • Add template key constants and Templates map; provide GetDeployCommand and GetInvokeSample via new Commands matrix per language/template.
    • Normalize language shorthands; expose supported templates per language.
  • Tests:
    • Major expansion: creation flow, dependency failure/missing tool paths, overwrite behavior, permissions, invalid combos, shorthands, and template coverage (pkg/create/copy_test.go, updates to cmd/create_test.go).
  • Docs:
    • README: add app creation to capabilities, reorder Quick Start (create → login → deploy → invoke), document create flags/templates, and add create examples.

Written by Cursor Bugbot for commit 83f218a. This will update automatically on new commits. Configure here.

Base automatically changed from archand/install-dependencies to main December 10, 2025 15:26
@archandatta archandatta force-pushed the archand/gaps/create-kernel-app branch from 90fa87e to 6129873 Compare December 10, 2025 15:35
@archandatta archandatta marked this pull request as ready for review December 10, 2025 16:11
@archandatta archandatta requested a review from rgarcia December 10, 2025 16:22
@archandatta archandatta merged commit 1b043a5 into main Dec 10, 2025
2 checks passed
@archandatta archandatta deleted the archand/gaps/create-kernel-app branch December 10, 2025 16:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants