Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
原来的 CLI 对于类型为 vector 的参数不支持传入空的 vector。在原来的 README 中,测试应用碰到这个情况时先随意传入了一个元素,让 vector 不为空,避免出错。这个地方做了修改。
上一个版本改进后的示例应用还有一些“用户需求”可能没有满足。
比如说,不支持不同的账户(用户)在同一个博客中创作文章(Getting Started 文章示例的 simple blog 也存在同样问题)。
在本次更新的示例中,我们演示了如何解决这些问题。
The previous CLI did not support passing an empty vector for arguments of type vector. In the previous README, when testing applications that encountered this situation, an arbitrary element was passed in so that the vector would not be empty, to avoid the error. This has been changed.
There are still some "user requirements" that may not have been met in the previous version of the improved example application.
For example, there was no support for different accounts (users) to create articles in the same blog (the same problem existed in the "simple blog" version of the Getting Started article).
In this updated example, we demonstrate how to solve these issues.