Why GitLab? DevSecOps
==========

This tool helps you automatically generate GitLab research reports (supported languages: Chinese and English), just select the objectives you want to achieve (such as "improve code quality").

本工具帮你自动生成 GitLab 解决方案和调研报告（支持中文和英文），遵循「目标导向」，选择你关注的目标（比如提高代码质量），即可生成报告。

希望能够帮助销售、负责调研的工程师提高工作效率。

欢迎 Fork，修改成你的产品报告生成器。

# Usage

```sh
npm i -g why-gitlab
why-gitlab
```

```text
? Which solution do you want? (Use arrow keys)
  DevOps
  DevSecOps
❯ customize

? What objectives do you want to achieve?
(Press <space> to select, <a> all, <i> invert, and <enter> to proceed)
❯◯ reduce defects
 ◯ improve code quality
 ◯ Standardize the Git workflow (eg: link a commit to an issue)
 ◯ develop more secure and compliant software
 ◯ customize

? Which format do you want? (Use arrow keys)
❯ Markdown
  PDF
  Word

? Which language do you want? (Use arrow keys)
❯ 简体中文
  English

Suggestion: premium
Report generated successfully, please open dist/why-gitlab.md
```

```text
? 你需要哪个解决方案？ (Use arrow keys)
  DevOps
  DevSecOps
❯ 自定义

? 你想实现哪些目标？
(Press <space> to select, <a> all, <i> invert, and <enter> to proceed)
❯◯ 提高代码质量（如：书写规范、复杂度）
 ◯ 规范 Git 流程（如：代码关联需求）
 ◯ 降低 bug 率
 ◯ 避免安全漏洞（如：log4j）
 ◯ 自定义

? 你想输出哪种格式？ (Use arrow keys)
❯ Markdown
  PDF
  Word

? 你需要哪种语言？ (Use arrow keys)
❯ 简体中文
  English

推荐：专业版
报告已生成，请打开文件 dist/why-gitlab.md
```
