Files
windmill/frontend/src/lib/components/CliHelpBox.svelte
T
Faton Ramadani fe35c7ad3c feat(frontend): Buttons refactor (#2545)
* feat(frontend): wip

* feat(frontend): button refactor wip

* feat(frontend): button refactor wip

* feat(frontend): fix build

* feat(frontend): fix build

* fix(frontend): fix build

* fix(frontend): fix buttons styles

* fix(frontend): remove dev file

* feat(frontend): clean up

* feat(frontend): done

* feat(frontend): done

* feat(frontend): remove duplicated componnet

* feat(frontend): wip

* feat(frontend): wip

* feat(frontend): forked Flow icons

* feat(frontend): remove legacy dropdown

* feat(frontend): migrated all + remove dependencies

* feat(frontend): clean up
2023-11-10 09:43:10 +01:00

29 lines
884 B
Svelte

<script lang="ts">
import { page } from '$app/stores'
import { workspaceStore } from '$lib/stores'
import ClipboardPanel from './details/ClipboardPanel.svelte'
$: url = `${$page.url.protocol}//${$page.url.hostname}/`
</script>
<div>
<div class="text-sm font-semibold">CLI quick setup </div>
<div class="text-sm" role="alert" id="dynamic-input-help-box">
<ul class="pl-0 pt-2 list-decimal list-inside flex flex-col gap-2">
<li>
Install the latest wmill CLI from deno.land:
<ClipboardPanel content={'deno install --unstable -A https://deno.land/x/wmill/main.ts'} />
</li>
<li>
Setup the wmill cli for this workspace & remote:
<ClipboardPanel
content={`wmill workspace add ${$workspaceStore} ${$workspaceStore} ${url}`}
/>
</li>
<li>Follow the prompts in your terminal</li>
<li>Use the run command above!</li>
</ul>
</div>
</div>