You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can see that the TUI appears, asking if you should generate the database files.
49
+
50
+
The following fields must be provided either via CLI flags or through the TUI:
51
+
52
+
```go
53
+
typeServerTypeFlagstring
54
+
55
+
const (
56
+
RESTServerTypeFlag = "rest"
57
+
GRPCServerTypeFlag = "grpc"
58
+
GraphQLServerTypeFlag = "graphql"
59
+
)
60
+
61
+
typeFormstruct {
62
+
Namestring
63
+
ServerTypeFlagServerTypeFlag
64
+
DatabaseFlagbool
65
+
MakefileFlagbool
66
+
}
67
+
```
68
+
If you run with the database flag enabled (including `--database`), the TUI is skipped and will generate your server (since the form is technically filled out).
69
+
70
+
For example, the following command will trigger the TUI:
0 commit comments