feat: add pack module

This commit is contained in:
2024-11-21 02:08:35 +08:00
parent 89e4107800
commit 35cec990c6
6 changed files with 499 additions and 9 deletions

View File

@@ -8,7 +8,7 @@ import { getConfig } from '@/module/index.ts';
import inquirer from 'inquirer';
const command = new Command('deploy')
.description('deploy to server')
.description('把前端文件传到服务器')
.argument('<filePath>', 'Path to the file to be uploaded') // 定义文件路径参数
.option('-v, --version <version>', 'verbose')
.option('-k, --key <key>', 'key')