thatstoasty / prism

Mojo CLI Library modeled after Cobra.
MIT License
38 stars 0 forks source link

Command `type` argument #31

Open Moosems opened 5 months ago

Moosems commented 5 months ago

By default all arguments are entered as strings in the Command Line so having an argument to turn a string into a requested type or give a failure message if conversion failed would be very nice.

thatstoasty commented 5 months ago

Hey @Moosems, I didn't think about typed args, that's a good point! I'll try playing around with an implementation for that.

Moosems commented 4 months ago

@thatstoasty Any progress ;)?

thatstoasty commented 4 months ago

@Moosems I spent most of the last month fighting against the changes in nightly trying to keep the library working haha. But now I should be able to look into it.

Moosems commented 4 months ago

Great job keeping up with nightly, thats quite a handful

thatstoasty commented 1 week ago

I check in on this every now and then, but still waiting for the type system to improve a bit before trying to tackle it. Too many roadblocks at the moment.