vars: refactor - remove generate_vars() in favor of run_generators()

The motivation is to have one shared entry point for the CLI as well as API/GUI
This commit is contained in:
DavHau
2025-08-19 16:10:08 +07:00
parent ba1e598a76
commit ab274ce932
10 changed files with 102 additions and 128 deletions

View File

@@ -552,12 +552,14 @@ const InstallSummary = () => {
const runGenerators = client.fetch("run_generators", {
prompt_values: store.install.promptValues,
machine: {
name: store.install.machineName,
flake: {
identifier: clanUri,
machines: [
{
name: store.install.machineName,
flake: {
identifier: clanUri,
},
},
},
],
});
set("install", (s) => ({