fix(cli): improve wmill init behavior

This commit is contained in:
Ruben Fiszel
2024-10-19 12:15:59 +02:00
parent d709053202
commit f064748aa0
2 changed files with 8 additions and 2 deletions
+5 -1
View File
@@ -101,9 +101,13 @@ const command = new Command()
"wmill.yaml",
yamlStringify({
defaultTs: "bun",
includes: ["**"],
includes: ["f/**"],
excludes: [],
codebases: [],
skipVariables: true,
skipResources: true,
skipSecrets: true,
includeSchedules: false,
})
);
log.info(colors.green("wmill.yaml created"));
@@ -1626,8 +1626,10 @@
<pre class="overflow-auto max-h-screen"
><code
>wmill workspace add {$workspaceStore} {$workspaceStore} {`${$page.url.protocol}//${$page.url.hostname}/`}
>npm install -g windmill-cli
wmill workspace add {$workspaceStore} {$workspaceStore} {`${$page.url.protocol}//${$page.url.hostname}/`}
wmill init
# adjust wmill.yaml file configuraton as needed
wmill sync pull
git add -A
git commit -m 'Initial commit'