Skip to content

Commit ede4e43

Browse files
authored
Merge pull request #30 from evaezekwem/style/format-console-instruction-string-to-match-cli-syntax
style: update console message to match CLI command syntax for app gen…
2 parents 253de3c + adb5fea commit ede4e43

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

cmd/forge/plugins/dev.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ func (p *DevPlugin) runDev(ctx cli.CommandContext) error {
9494
}
9595

9696
if len(apps) == 0 {
97-
ctx.Warning("No apps found. Create one with: forge generate:app")
97+
ctx.Warning("No apps found. Create one with: forge generate app")
9898

9999
return nil
100100
}

cmd/forge/plugins/doctor.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ func (p *DoctorPlugin) runDoctor(ctx cli.CommandContext) error {
152152

153153
if p.config == nil {
154154
ctx.Println(" 1. Run: forge init")
155-
ctx.Println(" 2. Run: forge generate:app --name=my-app")
155+
ctx.Println(" 2. Run: forge generate app --name=my-app")
156156
ctx.Println(" 3. Run: forge dev")
157157
} else {
158158
ctx.Println(" 1. Run: forge dev")

cmd/forge/plugins/init.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ func (p *InitPlugin) initProject(ctx cli.CommandContext) error {
175175
ctx.Success("Next steps:")
176176
ctx.Println(" 1. Review .forge.yaml and config.yaml configuration")
177177
ctx.Println(" 2. (Optional) Copy config.local.yaml.example to config.local.yaml for local overrides")
178-
ctx.Println(" 3. Run: forge generate:app --name=my-app")
178+
ctx.Println(" 3. Run: forge generate app --name=my-app")
179179
ctx.Println(" 4. Run: forge dev")
180180

181181
return nil

0 commit comments

Comments
 (0)