There can be non-terminal (i.e. non-interactive) sessions that are *not* a pipe, for example: ssh user@host ipfs version In this case, it looks like we should read from stdin. Parsing stdin is accomplished by deliberately triggering the parsing loop once. We didn't previously check whether there is an ArgDef to support that loop iteration.
| 名称 |
最后提交
|
最后更新 |
|---|---|---|
| .. | ||
| cli | 正在载入提交数据... | |
| files | 正在载入提交数据... | |
| http | 正在载入提交数据... | |
| argument.go | 正在载入提交数据... | |
| channelmarshaler.go | 正在载入提交数据... | |
| command.go | 正在载入提交数据... | |
| command_test.go | 正在载入提交数据... | |
| option.go | 正在载入提交数据... | |
| option_test.go | 正在载入提交数据... | |
| request.go | 正在载入提交数据... | |
| response.go | 正在载入提交数据... | |
| response_test.go | 正在载入提交数据... |