change to use registration as the entry point

This commit is contained in:
Alfred Kamanda 2024-08-15 14:58:44 +03:00
parent fb7b35af74
commit a096d3f5b5
3 changed files with 3 additions and 5 deletions

View File

@ -49,7 +49,7 @@ func main() {
var sessionId string
flag.StringVar(&dir, "d", ".", "resource dir to read from")
flag.UintVar(&size, "s", 0, "max size of output")
flag.StringVar(&root, "root", "root", "entry point symbol")
flag.StringVar(&root, "root", "registration", "entry point symbol")
flag.StringVar(&sessionId, "session-id", "default", "session id")
flag.Parse()
fmt.Fprintf(os.Stderr, "starting session at symbol '%s' using resource dir: %s\n", root, dir)
@ -59,7 +59,7 @@ func main() {
rfs := resource.NewFsResource(scriptDir)
ca := cache.NewCache()
cfg := engine.Config{
Root: "root",
Root: "registration",
SessionId: sessionId,
}

View File

@ -1 +1 @@
Welcome to Sarafu Network
Welcome to Sarafu Network registration

View File

@ -1,7 +1,5 @@
LOAD select_language 0
MOUT english 0
MOUT kiswahili 1
HALT
INCMP terms 0
INCMP terms 1
RELOAD select_language