Skip to content

Commit a5e9688

Browse files
committed
Add comments
1 parent 1377332 commit a5e9688

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

command/device/list.go

+4
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ import (
55
"github.com/arduino/iot-cloud-cli/internal/iot"
66
)
77

8+
// DeviceInfo contains the most interesting
9+
// parameters of an Arduino IoT Cloud device.
810
type DeviceInfo struct {
911
Name string
1012
ID string
@@ -13,6 +15,8 @@ type DeviceInfo struct {
1315
FQBN string
1416
}
1517

18+
// List command is used to list
19+
// the devices of Arduino IoT Cloud.
1620
func List() ([]DeviceInfo, error) {
1721
conf, err := config.Retrieve()
1822
if err != nil {

0 commit comments

Comments
 (0)