bombshell-dev / clack

Effortlessly build beautiful command-line apps
https://clack.cc
5.23k stars 88 forks source link

feat: added p.spinnerGroup API #158

Open JoshuaKGoldberg opened 10 months ago

JoshuaKGoldberg commented 10 months ago

Recording of the npx tsc examples/basic/spinnerGroup.ts:

https://github.com/natemoo-re/clack/assets/3335181/e0e1a5cb-bbaf-47e1-afcf-a4bfabe9bf3d

The same npx tsc examples/basic/spinnerGroup.ts's end output:

┌  spinner groups start...
│
◇  example stopped
│
◇  Outer group
│
└  spinner group stop...

THROW_ERROR=yippee npx tsc examples/basic/spinnerGroup.ts output:

┌  spinner groups start...
│
◇  example stopped
│
│  ┌ Outer group
│  │ First sub-task
│  ■ Second sub-task > yippee
│
└  spinner group stop...
changeset-bot[bot] commented 10 months ago

⚠️ No Changeset found

Latest commit: c549621454b559fe099ef8f4230d040afdcf9e3f

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

JoshuaKGoldberg commented 9 months ago

cc @cpreston321 / @natemoo-re, un-drafting this for review. I can set up a changesets entry if you think it looks good?