Skip to content

Conversation

@danforbes
Copy link
Contributor

@danforbes danforbes commented Sep 19, 2024

Closes #6

src/index.ts Outdated
}
}

cpSync(src, join(process.cwd(), dst), { recursive: true });
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll suggest to wrap the cpSync() call in a try-catch block to handle/display any errors that may occur during the copying process & specially for displaying feedback message on successful/unsuccessful completion.

@danforbes danforbes force-pushed the feat/cli/init branch 2 times, most recently from f6125f3 to 46e6050 Compare September 20, 2024 18:53
@danforbes danforbes marked this pull request as ready for review September 23, 2024 12:12
@danforbes danforbes merged commit a34f9c9 into main Sep 24, 2024
@danforbes danforbes deleted the feat/cli/init branch September 24, 2024 12:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bootstrap CLI Tool

4 participants