Uh oh!
There was an error while loading. Please reload this page.
feat(@clack/prompts): add prompt workflow - #139
Conversation
|
Uh oh!
There was an error while loading. Please reload this page.
cpreston321
commented
Aug 11, 2023
Initial thoughts:@Mist3rBru Great Work 🙏🏼 , I actually kinda of like this.. This could be a great addition. I'm just not for sure on the namespace Additional thoughtsI also think, within the next couple of releases -- I want to focus on knocking out a few bugs reported, then exposing each individual Thanks, |
orochaa
commented
Aug 11, 2023
I agree, sounds more like an awaitp.workflow().step('name',()=>p.text()).run() |
@Mist3rBru I like that. My only questions here
|
orochaa
commented
Aug 11, 2023
We can release it, and open a pinned issue like v1.0.0 Roadmap, so people can give their thoughts, and we decide based on it. |
I think it is a better API, since it does not deal with inference errors, and is more extensible. |
builderworkflowUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
cpreston321
commented
Aug 24, 2023
@Mist3rBru I made some improvements to examples please check this out: de9f5b6 |
orochaa
commented
Aug 25, 2023
@cpreston321 commit included. This helps a lot to run the examples! |
5d7433b to
4365f19CompareOpen in Stackblitz • @example/basic • @example/changesets commit: |
Since Typescript has shown a limitation on infer
groupresults, discussed in @chrissantamaria's comment on PR#102, and Issue #131. This functionality presents an alternative for users who favor the builder pattern when dealing with multiple prompts in sequence, serving as either a workaround or an additional choice, while avoid a breaking change.This PR includes:
I am open to discussions on comment's section!
Closes#131
Closes#109