As per the ORAS diagnose experience proposal, we should add a new --format tree-full flag for oras discover to control the detailed metadata output, such as printing the annotations.
Once we have a way to print the detailed metadata output, we can mark the --verbose flag as deprecated.
|
- Deprecate the `--verbose` flag and keep `--debug` flag to avoid ambiguity. It is reasonable to continue using `--debug` to enable the output of `DEBUG` level logs as it is in ORAS. Meanwhile, this change will make the diagnose experience much more straightforward and less breaking since only ORAS `pull/push/attach/discover` commands have verbose output. |
|
- Make the verbose output of commands `pull`, `push`, `attach` as the default (status) output. See examples at the bottom. |
|
- Make the verbose output of command `discover` as a formatted output, controlled by `--format tree-full`. |
As per the ORAS diagnose experience proposal, we should add a new
--format tree-fullflag fororas discoverto control the detailed metadata output, such as printing the annotations.Once we have a way to print the detailed metadata output, we can mark the
--verboseflag as deprecated.oras/docs/proposals/diagnose-experience.md
Lines 72 to 74 in 5280c67