Skip to content

Commit

Permalink
终章
Browse files Browse the repository at this point in the history
  • Loading branch information
xhnbzdl committed Jul 15, 2023
1 parent 803f098 commit f653859
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/feishu-doc-export/GlobalConfig.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
using Aspose.Words;
using System.Security.Cryptography;
using System.Text;

namespace feishu_doc_export
{
Expand Down Expand Up @@ -64,7 +66,7 @@ public static void Init(string[] args)
AppId = Console.ReadLine();
Console.WriteLine("请输入飞书自建应用的AppSecret:");
AppSecret = Console.ReadLine();
Console.WriteLine("请输入文档导出的文件类型(可选值:docx和md,为空或其他非可选值则默认为docx):");
Console.WriteLine("请输入文档导出的文件类型(可选值:docx、md、pdf,为空或其他非可选值则默认为docx):");
DocSaveType = Console.ReadLine();
Console.WriteLine("请输入要导出的知识库Id(为空代表从所有知识库中选择):");
WikiSpaceId = Console.ReadLine();
Expand Down Expand Up @@ -106,7 +108,7 @@ public static string GetCommandLineArg(string[] args, string parameterName, bool
Console.WriteLine(" --appId 飞书自建应用的AppId.");
Console.WriteLine(" --appSecret 飞书自建应用的AppSecret.");
Console.WriteLine(" --spaceId 飞书导出的知识库Id.");
Console.WriteLine(" --saveType 文档导出的文件类型(可选值:docx和md,为空或其他非可选值则默认为docx).");
Console.WriteLine(" --saveType 文档导出的文件类型(可选值:docx、md、pdf,为空或其他非可选值则默认为docx).");
Console.WriteLine(" --exportPath 文档导出的目录位置.");
Environment.Exit(0);
}
Expand Down

0 comments on commit f653859

Please sign in to comment.