返回 Skill 列表
extension
分类: 开发与工程无需 API Key

docs-export

导出Google Docs。可以通过“将Docs另存为PDF”、“导出文档”、“下载Docs”、“将文档另存为PDF”、“保存为Word”等方式启动。

person作者: jakexiaohubgithub

Docs Export

Google Docs をファイルにエクスポートします。

引数

  • ドキュメントID (必須): エクスポートするドキュメントのID

オプション

  • --output <path> (必須): 出力ファイルパス
  • --type <format>: 出力形式(pdf, docx, txt, html, rtf, epub)デフォルト: pdf

実行方法

python plugins/shiiman-google/skills/docs-list/scripts/google_docs.py export --doc-id <doc-id> --output ~/Downloads/document.pdf

Word形式でエクスポート

python plugins/shiiman-google/skills/docs-list/scripts/google_docs.py export --doc-id <doc-id> --output ~/Downloads/document.docx --type docx