Files
pear-docs/guide/starting-a-pear-terminal-project.md
David Mark Clements 8f5eddbaba terminal doc stubs
2023-12-15 13:57:30 +01:00

403 B

Starting a Pear Terminal Project

Step 1. Init

First create a new project using pear init.

$ mkdir chat-bot
$ cd chat-bot
$ pear init --yes

This will create a base structure for the project.

  • package.json. Configuration for the app. Notice the pear property.
  • index.js. The entrpoint for the app.
  • app.js. The main code.
  • test/index.test.js. Skeleton for writing tests.