or
or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up
Syntax | Example | Reference | |
---|---|---|---|
# Header | Header | 基本排版 | |
- Unordered List |
|
||
1. Ordered List |
|
||
- [ ] Todo List |
|
||
> Blockquote | Blockquote |
||
**Bold font** | Bold font | ||
*Italics font* | Italics font | ||
~~Strikethrough~~ | |||
19^th^ | 19th | ||
H~2~O | H2O | ||
++Inserted text++ | Inserted text | ||
==Marked text== | Marked text | ||
[link text](https:// "title") | Link | ||
 | Image | ||
`Code` | Code |
在筆記中貼入程式碼 | |
```javascript var i = 0; ``` |
|
||
:smile: | ![]() |
Emoji list | |
{%youtube youtube_id %} | Externals | ||
$L^aT_eX$ | LaTeX | ||
:::info This is a alert area. ::: |
This is a alert area. |
On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?
Please give us some advice and help us improve HackMD.
Syncing
xxxxxxxxxx
CLI Output Guidelines for ORAS CLI
The goal is to outline a set of guidelines to improve the console output of the ORAS CLI. This uses the copy command
cp
as an example to call out issues.Refer CLI Output Proposal for COPY with referrers
Framework :
Default Output
Verbose Logging Ouput
Debug Output
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →cp
but the general recommendation might be applicable for other commands.Verbose logging experience
Following curl and other tools as an example here -
Include warning in verbose and debug logs
Example of client showing that these are not stable.
Looking at ORAS cp
Observations :
Recommendataion:
Current verbose output
Observations:
Expected output with –verbose
Proposal
--debug
is not requred anymore--detailed
is not needed here or in other commands if presentSupport redirection of verbose output to stderr
Consider the following example
-v
is shows the output the user but it can be redirect to2>/dev/null
Handling concurrency in verbose outputs
There are few options we can consdier for this.
>
or<
with an operation id like>[1]