wip-account-creation #4

Merged
lash merged 143 commits from wip-account-creation into master 2024-08-30 14:37:58 +02:00
Showing only changes of commit 659e1c95a2 - Show all commits

View File

@ -232,7 +232,7 @@ func main() {
var sessionId string var sessionId string
flag.StringVar(&dir, "d", ".", "resource dir to read from") flag.StringVar(&dir, "d", ".", "resource dir to read from")
flag.UintVar(&size, "s", 0, "max size of output") flag.UintVar(&size, "s", 0, "max size of output")
Alfred-mk marked this conversation as resolved Outdated
Outdated
Review

is this a choice in the current ussd?

is this a choice in the current ussd?

Yes, the current USSD has the option of updating the gender, and the options are Male, Female and Other

Yes, the current USSD has the option of updating the gender, and the options are Male, Female and Other
flag.StringVar(&root, "root", "registration", "entry point symbol") flag.StringVar(&root, "root", "root", "entry point symbol")
flag.StringVar(&sessionId, "session-id", "default", "session id") flag.StringVar(&sessionId, "session-id", "default", "session id")
flag.Parse() flag.Parse()
fmt.Fprintf(os.Stderr, "starting session at symbol '%s' using resource dir: %s\n", root, dir) fmt.Fprintf(os.Stderr, "starting session at symbol '%s' using resource dir: %s\n", root, dir)
@ -242,7 +242,7 @@ func main() {
rfs := resource.NewFsResource(scriptDir) rfs := resource.NewFsResource(scriptDir)
ca := cache.NewCache() ca := cache.NewCache()
cfg := engine.Config{ cfg := engine.Config{
Root: "registration", Root: "root",
SessionId: sessionId, SessionId: sessionId,
} }