-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds a simple JSON output as an additional progress indicator
A simple JSON output is added as an additional progress indicator to the progressui package. The JSON output is presently a direct translation of the raw text with the index separated into its own field and a formatted message field as another field. In the future, we might want to expand the printing to include more structured logging to aid automated applications in reading the output. This change doesn't have any opinions about what those extra fields should be or if they should exist and the new interfaces are not exposed to ensure that future changes can be made backwards compatible if or when they are added. Signed-off-by: Jonathan A. Sternberg <jonathan.sternberg@docker.com>
- Loading branch information
1 parent
3197395
commit a105c98
Showing
2 changed files
with
95 additions
and
19 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
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