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 b43c918 commit e7f63adCopy full SHA for e7f63ad
command/device/list.go
@@ -5,6 +5,8 @@ import (
5
"github.com/arduino/iot-cloud-cli/internal/iot"
6
)
7
8
+// DeviceInfo contains the most interesting
9
+// parameters of an Arduino IoT Cloud device.
10
type DeviceInfo struct {
11
Name string
12
ID string
@@ -13,6 +15,8 @@ type DeviceInfo struct {
13
15
FQBN string
14
16
}
17
18
+// List command is used to list
19
+// the devices of Arduino IoT Cloud.
20
func List() ([]DeviceInfo, error) {
21
conf, err := config.Retrieve()
22
if err != nil {
0 commit comments