Skip to content

Rename the project from mariquita to iot-cloud-cli #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 8, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .gon.hcl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
source = ["./mariquita"]
bundle_id = "dev.zmoog.mariquita"
source = ["./iot-cloud-cli"]
bundle_id = "dev.zmoog.iot-cloud-cli"

apple_id {
username = "maurizio.branca@gmail.com"
Expand All @@ -11,5 +11,5 @@ sign {
}

zip {
output_path = "./mariquita.zip"
output_path = "./iot-cloud-cli.zip"
}
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Mariquita
# iot-cloud-cli

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

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

## Requirements

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

Expand Down Expand Up @@ -42,7 +42,7 @@ You should connect the new device to the new thing.
### Testing

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

If every works as expected you should see something similar to this output:
Expand Down
4 changes: 2 additions & 2 deletions command/ping.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ import (
"syscall"
"time"

"github.com/bcmi-labs/iot-cloud-cli/adapters/mqtt"
"github.com/bcmi-labs/iot-cloud-cli/internal/properties"
paho "github.com/eclipse/paho.mqtt.golang"
"github.com/spf13/cobra"
"github.com/zmoog/mariquita/adapters/mqtt"
"github.com/zmoog/mariquita/internal/properties"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/zmoog/mariquita
module github.com/bcmi-labs/iot-cloud-cli

go 1.15

Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package main

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

func main() {
command.Execute()
Expand Down