Skip to content

Commit

Permalink
Merge pull request #31 from expressots/fix/template-order
Browse files Browse the repository at this point in the history
Reorder project template choices to favor 'Opinionated'
  • Loading branch information
rsaz authored Mar 18, 2024
2 parents f27aee8 + 52d783f commit f758f1b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/new/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const createProject = (): CommandModule<CommandModuleArgs, any> => {
.option("template", {
describe: "The project template to use",
type: "string",
choices: ["non-opinionated", "opinionated"],
choices: ["opinionated", "non-opinionated"],
alias: "t",
})
.option("package-manager", {
Expand Down
2 changes: 1 addition & 1 deletion src/new/form.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,8 @@ const projectForm = async (projectName: string, args: any[]): Promise<void> => {
name: "template",
message: "Select a template",
choices: [
"Non-Opinionated :: A simple ExpressoTS project.",
"Opinionated :: A complete ExpressoTS project with an opinionated structure and features.",
"Non-Opinionated :: A simple ExpressoTS project.",
],
},
{
Expand Down

0 comments on commit f758f1b

Please sign in to comment.