Skip to content

Commit

Permalink
refactor: update 'new' cmd removing unnecessary options
Browse files Browse the repository at this point in the history
  • Loading branch information
rsaz committed Jul 31, 2024
1 parent 2bad261 commit 6d1da80
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions src/new/form.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,13 +125,12 @@ const enum PackageManager {

type TemplateKeys = keyof typeof Template;

type ProjectFormArgs = [
PackageManager,
TemplateKeys,
string,
];
type ProjectFormArgs = [PackageManager, TemplateKeys, string];

const projectForm = async (projectName: string, args: ProjectFormArgs): Promise<void> => {
const projectForm = async (
projectName: string,
args: ProjectFormArgs,
): Promise<void> => {
let answer: {
name: string;
packageManager: string;
Expand Down

0 comments on commit 6d1da80

Please sign in to comment.