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

docs-create

创建新的Google Docs文档。可以通过“创建文档”、“创建Docs”、“新文档”、“创建文档”等方式启动。

person作者: jakexiaohubgithub

Docs Create

Google Docs ドキュメントを新規作成します。

実行方法

基本的な作成

python plugins/shiiman-google/skills/docs-create/scripts/google_docs.py create --name "ドキュメント名"

フォルダを指定

python plugins/shiiman-google/skills/docs-create/scripts/google_docs.py create --name "ドキュメント名" --folder-id "フォルダID"

初期内容を指定

python plugins/shiiman-google/skills/docs-create/scripts/google_docs.py create --name "ドキュメント名" --content "初期テキスト"

ユーザー入力の解釈

  • ドキュメント名を聞き出す
  • フォルダを指定したい場合は事前に drive-search で検索
  • 初期内容があれば --content で指定

出力項目

  • id: ドキュメントID
  • name: ドキュメント名
  • url: 編集URL