Releases: withastro/cli-kit
Releases · withastro/cli-kit
v0.4.1
v0.4.0
Minor Changes
-
fbec51e: Adds a new
tasks
utility that displays a spinner for multiple, sequential tasks.import { tasks } from "@astrojs/cli-kit"; const queue = [ { pending: "Task 1", start: "Task 1 initializing", end: "Task 1 completed", // async callback will be called and awaited sequentially while: () => someAsyncAction(), }, // etc ]; const labels = { start: "Project initializing...", end: "Project initialized!", }; await tasks(labels, queue);
v0.3.1
v0.3.0
v0.2.5
v0.2.4
v0.2.3
v0.2.2
Patch Changes
- Update project names