Skip to content

Commit 4740060

Browse files
author
Maurizio Branca
authored
Rename the project from mariquita to iot-cloud-cli (#1)
1 parent 980b2c0 commit 4740060

File tree

5 files changed

+12
-12
lines changed

5 files changed

+12
-12
lines changed

.gon.hcl

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
source = ["./mariquita"]
2-
bundle_id = "dev.zmoog.mariquita"
1+
source = ["./iot-cloud-cli"]
2+
bundle_id = "dev.zmoog.iot-cloud-cli"
33

44
apple_id {
55
username = "[email protected]"
@@ -11,5 +11,5 @@ sign {
1111
}
1212

1313
zip {
14-
output_path = "./mariquita.zip"
14+
output_path = "./iot-cloud-cli.zip"
1515
}

README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
# Mariquita
1+
# iot-cloud-cli
22

3-
Mariquita is a virtual device for Arduino IoT Cloud for testing.
3+
The iot-cloud-cli is a virtual device for Arduino IoT Cloud for testing.
44

55
```
6-
$ mariquita ping -u "<deviceId>" -p "<secret>" -t <thing ID>>
6+
$ iot-cloud-cli ping -u "<deviceId>" -p "<secret>" -t <thing ID>>
77
Connected to Arduino IoT Cloud
88
Subscribed true
99
Property value sent successfully 81
@@ -12,7 +12,7 @@ $ mariquita ping -u "<deviceId>" -p "<secret>" -t <thing ID>>
1212

1313
## Requirements
1414

15-
This is all you need to use Mariquita:
15+
This is all you need to use iot-cloud-cli:
1616
* A "Generic ESP8266 Module" device in IoT Cloud (requires a Maker plan)
1717
* A thing with a `counter` property connected to the "Generic ESP8266 Module" device
1818

@@ -42,7 +42,7 @@ You should connect the new device to the new thing.
4242
### Testing
4343

4444
```shell
45-
$ mariquita ping -u "<Device ID>" -p "<Secret Key>" -t <Thing ID>>
45+
$ iot-cloud-cli ping -u "<Device ID>" -p "<Secret Key>" -t <Thing ID>>
4646
```
4747

4848
If every works as expected you should see something similar to this output:

command/ping.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ import (
99
"syscall"
1010
"time"
1111

12+
"github.com/bcmi-labs/iot-cloud-cli/adapters/mqtt"
13+
"github.com/bcmi-labs/iot-cloud-cli/internal/properties"
1214
paho "github.com/eclipse/paho.mqtt.golang"
1315
"github.com/spf13/cobra"
14-
"github.com/zmoog/mariquita/adapters/mqtt"
15-
"github.com/zmoog/mariquita/internal/properties"
1616
)
1717

1818
var (

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/zmoog/mariquita
1+
module github.com/bcmi-labs/iot-cloud-cli
22

33
go 1.15
44

main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package main
22

3-
import "github.com/zmoog/mariquita/command"
3+
import "github.com/bcmi-labs/iot-cloud-cli/command"
44

55
func main() {
66
command.Execute()

0 commit comments

Comments
 (0)