<!-- Source: https://www.wappi.dev/cli-commands -->

# CLI Commands

Creates a new functional endpoint using all the correct templates.

#### Command

```bash
wappi create
```

#### Shorthand Command

```bash
wappi c
```

#### Example

```bash
wappi c
```

Creates the build for running locally and testing the build

#### Command

```bash
wappi build
```

#### Shorthand Command

```bash
wappi b
```

#### Example

```bash
wappi b
```

Deletes a current functional endpoint version and namespace

#### Command

```bash
wappi delete
```

#### Shorthand Command

```bash
wappi d
```

#### Example

```bash
wappi d
```

Show the cli commands menu

#### Command

```bash
wappi help
```

#### Shorthand Command

```bash
wappi h
```

#### Example

```bash
wappi h
```

Initializes WAPPI (required for all the other commands to work)

#### Command

```bash
wappi init
```

#### Shorthand Command

```bash
wappi i
```

#### Example

```bash
wappi i
```

Runs eslint over code. Based off the .eslintrc.json

#### Command

```bash
wappi lint
```

#### Shorthand Command

```bash
wappi l
```

#### Example

```bash
wappi l
```

Run wappi locally. Runs on the port set in config (wappi.json)

#### Command

```bash
wappi run
```

#### Shorthand Command

```bash
wappi r
```

#### Example

```bash
wappi r
```

Run the tests locally on your code. Add a function name to test a specific function

#### Command

```bash
wappi test <Function_Name Optional>
```

#### Shorthand Command

```bash
wappi t
```

#### Example

```bash
wappi t Core_Login_1_0_0
```

Update all your node modules to use the latest versions

#### Command

```bash
wappi update
```

#### Shorthand Command

```bash
wappi u
```

#### Example

```bash
wappi u
```

Watches the API folder for changes, works with `wappi run`

#### Command

```bash
wappi watch
```

#### Shorthand Command

```bash
wappi w
```

#### Example

```bash
wappi w
```

URL: https://www.wappi.dev/cli-commands
