onepub-dev / dcli

An extensive library and tooling for building console/cli applications and scripts using the Dart programming language.
236 stars 26 forks source link

Fixed menu car example #200

Closed Tomic-Riedel closed 1 year ago

Tomic-Riedel commented 1 year ago

The default value of car was 'beer' before, which is a value of the previous example. I changed it to a valid defaultOption

bsutton commented 1 year ago

Thanks for the pr.

However it's still not correct.

The default needs to be an object from the option list.

On Sun, 25 Sept 2022, 3:36 pm Tomic-Riedel, @.***> wrote:

The default value of car was 'beer' before, which is a value of the previous example. I changed it to a valid defaultOption

You can view, comment on, or merge this pull request online at:

https://github.com/onepub-dev/dcli/pull/200 Commit Summary

File Changes

(1 file https://github.com/onepub-dev/dcli/pull/200/files)

Patch Links:

— Reply to this email directly, view it on GitHub https://github.com/onepub-dev/dcli/pull/200, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAG32OHG65PSMRLALR2LWI3V77QGTANCNFSM6AAAAAAQU6BTN4 . You are receiving this because you are subscribed to this thread.Message ID: @.***>

bsutton commented 1 year ago

I've updated the documentation to reflect the correct call.

Greatly appreciate your input.