-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
commands: add output helpers to WestCommand
This is basically a duplicate of the west.log interface, except with: - better names - no use of global state - support for a 'quiet' mode The goal is to move over built-in commands to using this interface in order to eliminate global state. That in turn may help us with our goals of running more west tests in parallel and is just better design anyway since the west APIs should be clean when used as a library outside of any command. We can move over extension functions in zephyr etc. over time as well, probably also by using a helper that can detect older versions of west and work anyway. That will then allow us to deprecate west.log, removing it in the long term, and adding support for a global "west --quiet <command> args" style of invocation for the folks who just hate terminal output. I want to get this conversion all done by the time Zephyr LTS3 is done, so it's time to get the ball rolling now. I missed the boat on LTS2 and that makes me sad. Part of: #149 Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
- Loading branch information
1 parent
2969181
commit b4d0b38
Showing
1 changed file
with
165 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters