Skip to content
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

Merged
merged 6 commits into from
Sep 19, 2024
Merged

Refactor and minor features #63

merged 6 commits into from
Sep 19, 2024

Conversation

floitsch
Copy link
Member

Prepares for a v2 release.

@floitsch floitsch requested a review from kasperl July 30, 2024 09:49
@floitsch
Copy link
Member Author

I have ported Artemis to use the new v2 API: #63

@floitsch
Copy link
Member Author

floitsch commented Sep 9, 2024

As discussed: renamed 'info' to 'inform' and 'warning' to 'warn'.

Copy link
Member

@kasperl kasperl left a 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."
Copy link
Member

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.

Copy link
Member Author

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
...

@floitsch floitsch enabled auto-merge (squash) September 19, 2024 14:17
@floitsch floitsch merged commit 4f29448 into main Sep 19, 2024
6 checks passed
@floitsch floitsch deleted the floitsch/rename branch September 19, 2024 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants