Skip to content

Add scaffold subcommand#36

Open
ludfjig wants to merge 1 commit intohyperlight-dev:mainfrom
ludfjig:scaffold
Open

Add scaffold subcommand#36
ludfjig wants to merge 1 commit intohyperlight-dev:mainfrom
ludfjig:scaffold

Conversation

@ludfjig
Copy link
Copy Markdown
Contributor

@ludfjig ludfjig commented Apr 1, 2026

Initial draft for a scaffolding command to create a ready-to-compile/run hyperlight project (with guest). Currently just targets 0.13. Might be useful in the future to decouple the templating from the template, so we can have multiple versions etc etc, and releasing a new hyperlight version won't need a new cargo-hyperlight release.

I plan to include this command in main hyperlight repo docs/markdown in something like the README.md or getting-started.md docs.

I'm particularly looking for feedback on the actual templated code. I made it slightly longer than I initially intended, but I think it makes sense given it shows off a lot important hyperlight features. I also think it makes sense to add a wit host+guest to this command as well, but can do that later

Signed-off-by: Ludvig Liljenberg <4257730+ludfjig@users.noreply.github.com>
@ludfjig ludfjig requested a review from jprendes April 1, 2026 04:35
@ludfjig ludfjig marked this pull request as ready for review April 1, 2026 04:36
@ludfjig ludfjig requested a review from jsturtevant April 1, 2026 04:36
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.

1 participant