Back to skills
extension
Category: Development & EngineeringNo API key required

docs-export

Export Google Docs. Can be initiated through options like 'Save Docs as PDF', 'Export document', 'Download Docs', 'Save document as PDF', 'Save as Word'.

personAuthor: 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