Ver Fonte

feat(sh_config): 添加创建 requirements.txt 文件的函数

- 新增 python_new_requirements 函数,用于在项目根目录下创建一个空的 requirements.txt 文件
- 这个函数可以方便开发者快速开始记录项目依赖
tianyun há 3 meses atrás
pai
commit
e7bd0d18a8
1 ficheiros alterados com 3 adições e 0 exclusões
  1. 3 0
      sh_config.sh

+ 3 - 0
sh_config.sh

@@ -716,4 +716,7 @@ python_new_venv() {
 }
 python_in_venv(){
   . venv/bin/activate
+}
+python_new_requirements(){
+   touch requirements.txt
 }