canonical / craft-cli

https://canonical-craft-cli.readthedocs-hosted.com/en/latest/
GNU Lesser General Public License v3.0
9 stars 14 forks source link

Add `emit.warning()` #256

Open mr-cal opened 1 month ago

mr-cal commented 1 month ago

What needs to get done

Add a new emitter command, emit.warning()

Why it needs to get done

emit.progress(permanent=True) is overloaded. It is the only way to log warnings like deprecation notices.