We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f43c9ec commit 2bbb1b4Copy full SHA for 2bbb1b4
cli/board/list.go
@@ -91,9 +91,11 @@ func watchList(cmd *cobra.Command, inst *rpc.Instance) {
91
for event := range eventsChan {
92
feedback.PrintResult(watchEvent{
93
Type: event.EventType,
94
+ Label: event.Port.Port.Label,
95
Address: event.Port.Port.Address,
96
Protocol: event.Port.Port.Protocol,
97
ProtocolLabel: event.Port.Port.ProtocolLabel,
98
+ Properties: event.Port.Port.Properties,
99
Boards: event.Port.MatchingBoards,
100
Error: event.Error,
101
})
@@ -166,8 +168,10 @@ func (dr result) String() string {
166
168
type watchEvent struct {
167
169
Type string `json:"type"`
170
Address string `json:"address,omitempty"`
171
+ Label string `json:"label,omitempty"`
172
Protocol string `json:"protocol,omitempty"`
173
ProtocolLabel string `json:"protocol_label,omitempty"`
174
+ Properties map[string]string `json:"properties"`
175
Boards []*rpc.BoardListItem `json:"boards,omitempty"`
176
Error string `json:"error,omitempty"`
177
}
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments