DEV Community

flisk
flisk

Posted on

Flisk, Compose and Tilt side by side: reading the Command Comparer row by row

Command Comparer at cmd.flisk.si answers one question: what is the command for this task in each tool? It has 16 tabs. This post reads one of them, "Compose & Tilt", and shows how to use the page without being misled by it.

How the page is built

Each row is a task. Each column is a tool, with Flisk first. Every cell links to a source: Flisk cells to Flisk docs or source, other cells to that tool's official docs.

The About page lists three rules worth knowing:

  • Blank is an answer. If a tool has no command for a task, the cell says so.
  • Amber means "different job, closest command". It is not a swap.
  • The Flisk commands were checked against a Flisk release on a stated date, and a script in the repo repeats the check.

Rows from the Compose and Tilt tab

These are copied from the page as I read it.

Task Flisk Docker Compose Tilt
Start everything flisk up docker compose up tilt up
Start one service flisk up --only api docker compose up api tilt up api
See what is running flisk status docker compose ps tilt get uiresources
Read one service's logs flisk logs -s api docker compose logs -f api tilt logs -f api
Restart one service flisk restart api docker compose restart api tilt trigger api
Check the config flisk config verify docker compose config -q tilt alpha tiltfile-result (different job, alpha)
Stop flisk down docker compose down tilt down

The notes matter more than the commands

Same name does not mean same behavior. The page notes some differences:

  • docker compose up api also starts linked services. tilt up api also starts its resource_deps.
  • docker compose restart api does not apply compose file changes. tilt trigger api may rebuild the resource.
  • For live reload, Compose needs develop.watch rules and docker compose up --watch. In Tilt, live_update in the Tiltfile syncs files without a rebuild. For Flisk the page lists flisk up with a generated Tilt live_update.
  • For "Run a command in a service", the Flisk cell is flisk run api -- sh, marked as a different job: it runs on your machine with the service's environment, not inside a container.

Where Flisk has a command and the others do not

In the "Create a project" and "Add a service" rows, Flisk lists flisk project, flisk resource api --type backend and flisk tool add react. For Compose the page says there is no command, you add an entry under services in compose.yaml. For Tilt it says you edit the Tiltfile by hand.

Use "Pick tools"

If your stack is not in the default columns, the Pick tools tab lets you choose your own set. Flisk stays first and the link keeps your picks, so you can share it.

What it does not claim

The page states that Flisk is local-only. It does not deploy and does not write Kubernetes manifests. Terraform and CDK appear in another tab and are described as provisioning infrastructure, a different job.

If a cell is wrong, the page asks you to open an issue.

Top comments (0)