You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As discussed as a team, emit.message() should only be used for the real output of a command.
For example, snapcraft plugins should use emit.progress(permanent=True) for the deprecation notice to use snapcraft list-plugins and emit.message() to print the list of plugins.
Assigning this to @tigarmo, who is going to clarify this in the docs.
What needs to get done
Clarify when a developer should use
message
or when they should useprogress
.Example: Which is the correct way to show a warning?
Why it needs to get done
User confusion: canonical/craft-application#302 (comment)
The text was updated successfully, but these errors were encountered: