---
# System prepended metadata

title: CLI Process Improve
tags: [' change', cli]

---

---
tags: cli, change
author: Oliver.W
---

# CLI Process Improve

[![hackmd-github-sync-badge](https://hackmd.io/Rbxzuw_YR0ybVPSnDWUEjw/badge)](https://hackmd.io/Rbxzuw_YR0ybVPSnDWUEjw)

## Current Process

> Components Version: 3.7.4

* Red Color needs change.
* Yellow Color needs improve.

![](https://i.imgur.com/baKEZ81.png)

### Issues in current process. 

## Designed Process
TBC


## WARNs

* SLS_IN_PROJECT
```
无法在项目目录初始化新项目。请通过 `init` 添加组件，或使用  `sls help` 查看更多命令。
```
* COMMAND_IN_NON_PROJECT
```
无法在非项目目录执行该命令。请检查，或使用  `sls help` 查看更多命令。
```

* TEMPLATE_BASE_VERIFY

```
模板校验失败，请确保模板所有组件的 app, stage 信息一致。
```

## ERRORs
* Non Components Folder
```
当前目录不是serverless项目目录，请切换到serverless目录执行或者使用 sls 来创建一个新项目
```