Benjamin Fischer

Results 64 comments of Benjamin Fischer

Currently thinking about this. Maybe it's better to add a `.argument(name, options)` method so you can define conflicting options on the argument instead of defining conflicting arguments on the option.

Yes i want to support this. I think we can adapt the `GithubProvider` to support downloading binaries uploaded on github. PR's are welcome.

We could do it the following: - Detect if the cli is a binary or a script. - Each provider should have a property which indicates if it supports binary...

Not sure if it's a good idea to erase the prompt by default. If the validation takes some time, the prompt dissapears for a while. I could provide a function...

This might work for you as a workaround. But since you have activated the hint, you need to move the cursor down 2 lines. ```ts await Input.prompt({ message: "Where is...

Or if you want to clear the prompt completely than you can just call `tty.cursorLeft.eraseDown();`: ```ts await Input.prompt({ message: "Where is your legacy instance?", default: Deno.args[0], hint: "This should be...

Hi @NfNitLoop, sry for late replay, i'm on a long trip currently. I think this is a good idea. We have already `Type.infer` which works similarly. One way of implementing...

I think i agree with you, fine for me to change this.

> case 1: empty flag cannot be used as boolean Yeah, i noticed this as well. Maybe we should set the default value by default to `false` for boolean flags...