diff --git a/cli/cmd/encore/app/create.go b/cli/cmd/encore/app/create.go index c0fdd21874..5afbcc9a75 100644 --- a/cli/cmd/encore/app/create.go +++ b/cli/cmd/encore/app/create.go @@ -66,6 +66,11 @@ func createApp(ctx context.Context, name, template string) (err error) { if name == "" || template == "" { name, template = selectTemplate(name, template) } + // Treat the special name "empty" as the empty app template + // (the rest of the code assumes that's the empty string). + if template == "empty" { + template = "" + } if err := validateName(name); err != nil { return err