lmstudio-ai / venvstacks

Virtual environment stacks for Python
https://lmstudio-ai.github.io/venvstacks/
MIT License
1 stars 0 forks source link

Add `init` subcommand #13

Open ncoghlan opened 1 month ago

ncoghlan commented 1 month ago

Writing venvstacks.toml from scratch is annoying, so it would be useful if there was a command that emitted a basic skeleton for subsequent editing.

This probably wouldn't even need tomlkit or jinja2 as a dependency - it could just use regular string formatting on a minimal template file.

ncoghlan commented 1 week ago

The workaround in the meantime is to use test/sample_projects/venvstacks.toml as a starting point for writing a new stack definition.