Skip to content

CLI create script support for TypeScript #178

@bouwe77

Description

@bouwe77

Background

With the CLI you can create a JS Node app running Temba.

According to the docs:

Create your own Temba server instantly:

npx temba-cli create my-rest-api

This command will:

  • Create a new folder called my-rest-api
  • Install Temba as a dependency
  • Generate a server.js file
  • Automatically start your brand-new Temba API

You'll see:

✅ Server listening on port 8362npx temba-cli create my-api

This issue

Let's add a --ts flag to indicate the CLI should create a TypeScript project instead:

npx temba-cli create my-rest-api --ts

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions