Home / Market / gws drive upload

gws drive upload

gws-drive-upload

claude-command★ 348030 dlgithubMITInstall in CosmosUpstream Source

Documentation & Preview

--- allowed-tools: Bash, Read, Write, Edit argument-hint: [resource] [method] [flags] description: Google Drive: Upload a file with automatic metadata.

---

Google Workspace Drive Upload

Execute Google Workspace Drive Upload operations: $ARGUMENTS

Prerequisites

Available Resources and Methods

drive +upload

> PREREQUISITE: Read ../gws-shared/SKILL.md for auth, global flags, and security rules. If missing, run gws generate-skills to create it.

Upload a file with automatic metadata

Usage

gws drive +upload <file>

Flags

| Flag | Required | Default | Description | |------|----------|---------|-------------| | <file> | ✓ | — | Path to file to upload | | --parent | — | — | Parent folder ID | | --name | — | — | Target filename (defaults to source filename) |

Examples

gws drive +upload ./report.pdf
gws drive +upload ./report.pdf --parent FOLDER_ID
gws drive +upload ./data.csv --name 'Sales Data.csv'

Tips

> [!CAUTION] > This is a write command — confirm with the user before executing.

See Also

Usage

# List available resources and methods
gws drive-upload --help

# Inspect method schema before calling
gws schema drive-upload.<resource>.<method>

# Execute command with arguments
gws drive-upload $ARGUMENTS

Task

Execute the requested Drive Upload operation: $ARGUMENTS

  1. Verify Prerequisites
  1. Inspect Method Schema
  1. Execute Operation
  1. Error Handling

---

License: Apache License 2.0

Source: Google Workspace CLI

Original Skill: gws-drive-upload