-
Notifications
You must be signed in to change notification settings - Fork 7
ADR-012 Standardise CLI multiple choice flags construction #72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
02d0b60
to
0129960
Compare
docs/ADR-012-standardise-CLI-multiple-choice-flags-construction.md
Outdated
Show resolved
Hide resolved
docs/ADR-012-standardise-CLI-multiple-choice-flags-construction.md
Outdated
Show resolved
Hide resolved
docs/ADR-012-standardise-CLI-multiple-choice-flags-construction.md
Outdated
Show resolved
Hide resolved
fmap QueryUTxOCmd $ | ||
QueryUTxOCmdArgs | ||
<$> ... | ||
<*> parserFromFormatFlags |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! I think we should merge this at the same time as IntersectMBO/cardano-cli#1133, after we work out the details, since both describe the same thing.
) | ||
& onLeft (left . QueryCmdAcquireFailure) | ||
& onLeft left | ||
``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very good illustration of the problem!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
Can you touch base with @olgahryniuk to improve the formatting?
docs/ADR-012-standardise-CLI-multiple-choice-flags-construction.md
Outdated
Show resolved
Hide resolved
docs/ADR-012-standardise-CLI-multiple-choice-flags-construction.md
Outdated
Show resolved
Hide resolved
docs/ADR-012-standardise-CLI-multiple-choice-flags-construction.md
Outdated
Show resolved
Hide resolved
|
||
## Do not allow more than one default | ||
|
||
There should be no more than one default and it should be fixed and visible from the help. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
0129960
to
09a7f8d
Compare
09a7f8d
to
e955576
Compare
No description provided.