Skip to content

Commit

Permalink
Minor fixes to dart create (withfig#2016)
Browse files Browse the repository at this point in the history
  • Loading branch information
aleksrutins authored Jul 19, 2023
1 parent 7edadf2 commit f80d44e
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions src/dart.ts
Original file line number Diff line number Diff line change
Expand Up @@ -236,24 +236,20 @@ const completionSpec: Fig.Spec = {
default: "console-simple",
suggestions: [
{
name: "console-simple",
name: "console",
description: "A simple command-line application",
},
{
name: "console-full",
description: "A command-line application sample",
},
{
name: "package-simple",
name: "package",
description:
"A starting point for Dart libraries or applications",
},
{
name: "server-simple",
name: "server-shelf",
description: "A web server built using package:shelf",
},
{
name: "web-simple",
name: "web",
description: "A web app that uses only core Dart libraries",
},
],
Expand All @@ -272,7 +268,7 @@ const completionSpec: Fig.Spec = {
exclusiveOn: ["--pub"],
},
{
name: "--foce",
name: "--force",
description:
"Force project generation, even if the target directory already exists",
},
Expand Down

0 comments on commit f80d44e

Please sign in to comment.