-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.go
More file actions
31 lines (26 loc) · 678 Bytes
/
main.go
File metadata and controls
31 lines (26 loc) · 678 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
package main
import (
"flag"
"fmt"
"os"
"time"
coherra "github.com/MyndScript/QALX/core"
)
func main() {
// Example CLI flags
emotion := flag.String("emotion", "joy", "LyraGlyph emotion")
intensity := flag.Float64("intensity", 1.0, "LyraGlyph intensity")
ethics := flag.Float64("ethics", 0.9, "LyraGlyph ethics score")
flag.Parse()
// Create a LyraGlyph from CLI args
glyph := coherra.LyraGlyph{
Emotion: *emotion,
Intensity: *intensity,
EthicsScore: *ethics,
Timestamp: time.Now().Unix(),
}
// Generate metrics and print
metrics := coherra.InitializeQuantumMetricsWithGlyph(glyph)
fmt.Printf("QuantumMetrics: %+v\n", metrics)
os.Exit(0)
}