-
Notifications
You must be signed in to change notification settings - Fork 0
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
Refactor and minor features #63
Conversation
Prepares for a v2.
I have ported Artemis to use the new v2 API: #63 |
As discussed: renamed 'info' to 'inform' and 'warning' to 'warn'. |
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.
Looks good to me.
some-chatty-method app/cli.Application: | ||
ui := app.ui | ||
some-chatty-method cli/Cli: | ||
ui := cli.ui | ||
ui.debug "This is a debug message." | ||
ui.verbose "This is a verbose message." |
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.
Maybe not the best verby name.
verbose
, interactive
, result
are all kind of weird now - and got a bit weirder by the info -> inform, warning -> warn cleanup.
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.
I will do a follow-up PR.
As discussed in person:
emit --info
emit --warning
...
Prepares for a v2 release.