fast-code-cli
Advanced tools
+5
-5
| #!/usr/bin/env node | ||
| const fs = require('fs'); | ||
| import inquirer from 'inquirer'; | ||
| import { exec } from 'child_process'; | ||
| const inquirer = require('inquirer'); // 假设使用inquirer进行交互式输入 | ||
| const { exec } = require('child_process'); | ||
@@ -17,3 +17,3 @@ | ||
| const projectName = answers.projectName; | ||
| // 创建项目目录并初始化 | ||
@@ -30,6 +30,6 @@ if (!fs.existsSync(projectName)) { | ||
| }); | ||
| // 根据需要复制模板文件或执行其他初始化操作 | ||
| // ... | ||
| console.log(`项目 "${projectName}" 创建成功!`); | ||
@@ -36,0 +36,0 @@ } else { |
+1
-1
| { | ||
| "name": "fast-code-cli", | ||
| "version": "1.0.10", | ||
| "version": "1.0.11", | ||
| "description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
1958
3.43%