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

docs-create

Create a new Google Docs document. It can be launched with options like "Create Document", "Create Docs", "New Document", or "Create a document".

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