Deployments and TestingCLI
create-descope-app
The create-descope-app CLI tool allows you to create a new Descope application using a default template.
It is a quick and easy way to get started with Descope.
Basic usage:
npx create-descope-app [project-name] [options]Reference
| Option | Description |
|---|---|
-h or --help | Display help for the command |
-v or --version | Display version number |
-t or --template | Use a specific template when creating the app |
Examples
To create a new app using a template, run the following command in your terminal:
npx create-descope-app@latestThis command will prompt you to enter a project name and select a template.
What is your project named? my-app
Would you like to use TypeScript? No / Yes
? Please select a language/framework: (Use arrow keys)
❯ nextjs
react
angular
remix
html
flutter
swift
? Select a template for nextjs: (Use arrow keys)
❯ next-js-sample-app
nextjs-demo-app-router
nextjs-hackathon-templateOnce you've entered your project name and selected a template, the CLI will create a new project with your chosen configuration.
Was this helpful?