Terminal Deploy Command

~/acme-web

$ npx acme deploy

  • Linked to acme/web
  • Installed 214 packages
  • Built 38 pages
  • Uploaded to 12 regions
Live at https://acme.dev41s
About this piece

Terminal Deploy Command

One deploy command types itself into a terminal, its output settles line by line, and the live address appears at the end.

Usage

The import and the props worth knowing about, in one place.

import { Code20 } from "@/components/beste/piece/code20";

<Code20
  title="~/acme-web"
  command="npx acme deploy"
  lines={[
    "Linked to acme/web",
    "Installed 214 packages",
    "Built 38 pages",
    "Uploaded to 12 regions"
  ]}
  result="Live at https://acme.dev"
  duration="41s"
  framed={true}
  stepMs={800}
/>

More Code pieces

View all Code
bun add @beste/ui
npx shadcn@latest add https://beste.dev/r/hero181.json
components/hero181.tsx
components/ui/button.tsx
Terminal
$ npx shadcn@latest add @beste-ui/hero181
components/hero181.tsx
components/ui/button.tsx
Styles come from your own theme tokens
curl-XPOSThttps://api.beste.co/v1/users
-H"Content-Type: application/json"
-d'{"name": "Nils Frahm"}'
const user = await fetchUser("42");
const greeting = "Hello, Beste!";ts