Skip to content

CLI for Scaffolding Projects #2

@CodeMaverick-143

Description

@CodeMaverick-143

Developers currently have to manually set up the project structure, which is time-consuming and error-prone. A CLI tool will standardize project creation.

Technical Implementation:

  • Create a new package newgate-cli or add a bin entry to the main package.
  • Use commander or yargs for argument parsing.
  • Use prompts or inquirer for interactive project setup (name, language, template).
  • Include templates for:
    • Basic JS (ES Modules)
    • TypeScript (with build step)

Acceptance Criteria:

  • Running npx create-newgate-app my-app prompts the user for configuration.
  • A new directory my-app is created with a working package.json and index.js.
  • npm start in the new directory successfully starts the server.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions