Skip to content

Conversation

@mythz
Copy link
Member

@mythz mythz commented Nov 22, 2025

  • Make ProjectName parameter optional
  • When ProjectName is not specified:
    • Uses current directory name as the project name
    • Extracts template contents directly into current directory
    • Validates that current directory is empty before extracting
  • Update help message and README with new usage examples
  • Improve error messages for better user experience

Usage:
npx create-net nextjs MyProject (creates MyProject folder)
npx create-net nextjs (uses current directory)

- Make ProjectName parameter optional
- When ProjectName is not specified:
  - Uses current directory name as the project name
  - Extracts template contents directly into current directory
  - Validates that current directory is empty before extracting
- Update help message and README with new usage examples
- Improve error messages for better user experience

Usage:
  npx create-net nextjs MyProject  (creates MyProject folder)
  npx create-net nextjs            (uses current directory)
@mythz mythz merged commit 34740b3 into main Nov 22, 2025
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.

3 participants