A simple combination of CLI + Worker process to replicate a simple food delivery system
Copy sample.env to .env and set the appropriate values to your Temporal instance and namespace
go build -o cli cmd/order-cli/main.goThen use:
source .env
./cli order -l
./cli order 2ce0
./cli order-status <uuid>
./cli order-list
./cli pickup <uuid>
./cli deliver <uuid>go build -o food-worker cmd/delivery-worker/main.gosource .env
./worker