Pooya Parsa

Results 2282 comments of Pooya Parsa

Nice idea! Small neat pick i would call it `validate`. Also PR more than welcome to implement this!

I already dediced to move cli formating utils and prompt to consola. this might as well be moved to nypm for instance.

Hi. Thinking more, i think probably we should only run main `run` only when no subcommand is being matched. We have `setup` hook that always get called. It is a...

Indeed. I had been for long thinking to support auto completions. It would probably best if we also consider an abstraction first in citty for other shells integration (it shouldn't...

@tobiasdiez please read https://github.com/pi0/tired-maintainer 🙏🏼

Maybe by allows to `throw` an error we can support this?

We might expose a new `createError({ status, body })` util to support status controllng or maybe simply something like this: ```js export default defineWebSocketHandler({ async upgrade(req) { const authenticated =...

Added in #55. It will be possible in next release to use `return new Response()` inside `upgrade` hook in order to fail upgrade with an auth error.

Do you mind to make a minimal reproduction? 🙏🏼 (this is how i can help to move it forward as soon as possible)