Skip to content

samialdury/create

Repository files navigation

@samialdury/create

CI status license npm version

CLI tool to create new projects from my templates.

Usage

The recommended way to use this CLI is through bunx:

bunx @samialdury/create

You will be prompted to choose a template and provide a project name.

Available templates

  • Node.js project
    • Node.js project template designed to get you up and running quickly, whether you're building a CLI tool or a web server.
    • Stack:
      • Node.js
      • TypeScript
      • ESLint
      • Prettier
      • Docker
      • GitHub Actions & GitHub Container Registry
  • Node.js API
    • Batteries-included Node.js API template with best practices in mind.
    • Includes everything from the Node.js project template, plus:
      • REST
      • GraphQL
      • PostgreSQL
      • OAuth2 & JWT
      • Pulumi IaC
      • Docker Compose
      • local HTTPS
      • GitHub Actions & GitHub Container Registry

CLI options

Usage: @samialdury/create [options] <template> <project-name>

Options:
  -h, -H, --help, help          Print this message
  -v, -V, --version, version    Print the CLI version

Arguments:
  <template>                    The template to use. Must be one of:
        nodejs-api              Node.js API template
        nodejs-project          Node.js project template

    If no template is specified, you will be prompted to choose one.

  <project-name>                The name/directory of the project

    If no name/directory is specified, you will be prompted to enter one.

License

MIT