2023-04-19 13:17:33 +02:00
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
|
|
|
"fmt"
|
|
|
|
|
|
|
|
"github.com/google/uuid"
|
2023-04-25 12:55:00 +02:00
|
|
|
"github.com/thefeli73/polemos/pcsdk"
|
2023-04-19 13:17:33 +02:00
|
|
|
"github.com/thefeli73/polemos/state"
|
|
|
|
)
|
|
|
|
|
|
|
|
func main() {
|
|
|
|
uuid := uuid.MustParse("87e79cbc-6df6-4462-8412-85d6c473e3b1")
|
|
|
|
|
|
|
|
m := pcsdk.NewCommandDelete(state.CustomUUID(uuid))
|
2023-04-25 12:55:00 +02:00
|
|
|
err := m.Execute("http://localhost:3000")
|
2023-04-19 13:17:33 +02:00
|
|
|
if err != nil {
|
2023-04-25 12:55:00 +02:00
|
|
|
fmt.Printf("error executing modify command: %s\n", err)
|
|
|
|
} else {
|
|
|
|
fmt.Println("executing modify command completed")
|
2023-04-19 13:17:33 +02:00
|
|
|
}
|
|
|
|
}
|