diff --git a/.vscode/settings.json b/.vscode/settings.json index 0b14051..8d76dbc 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,20 +1,5 @@ { "cSpell.ignoreWords": ["Expresso"], - "workbench.colorCustomizations": { - // "activityBar.foreground": "#38e715", - // "activityBarBadge.background": "#248d0f", - // "activityBarBadge.foreground": "#fcfcfc", - // "sideBar.border": "#38e715", - // "sideBarTitle.foreground": "#38e715", - // "sideBarSectionHeader.border": "#38e715", - // "editorGroupHeader.border": "#38e715", - // "editorGroupHeader.tabsBorder": "#38e715", - // "tab.border": "#38e715", - // "tab.activeBorderTop": "#38e715", - // "panel.border": "#38e715", - // "statusBar.border": "#38e715", - // "statusBar.foreground": "#38e715" - }, "editor.rulers": [120], "cSpell.words": ["nonopinionated", "usecase"], "typescript.tsdk": "node_modules\\typescript\\lib" diff --git a/src/new/form.ts b/src/new/form.ts index d41e041..c8dc73f 100644 --- a/src/new/form.ts +++ b/src/new/form.ts @@ -9,6 +9,7 @@ import { centerText } from "../utils/center-text"; import { printError } from "../utils/cli-ui"; import { changePackageName } from "../utils/change-package-info"; import { BUNDLE_VERSION } from "../cli"; +import { exit } from "node:process"; async function packageManagerInstall({ packageManager, @@ -146,6 +147,7 @@ const projectForm = async ( template: Template; confirm: boolean; }; + const [packageManager, template, directory] = args; if (packageManager && template) { @@ -180,7 +182,7 @@ const projectForm = async ( `Opinionated :: Automatically scaffolds resources into a preset project structure. (${chalk.yellow( "Recommended", )})`, - "Non-Opinionated :: Allows users to choose where to scaffold resources, offering flexible project organization.", + "NonOpinionated :: Allows users to choose where to scaffold resources, offering flexible project organization.", "Micro :: A minimalistic template for building micro api's.", ], },