gws-drivelisted
Install: claude install-skill project-nomos/nomos
# drive (v3)
> **PREREQUISITE:** Read `../gws-shared/SKILL.md` for auth, global flags, and security rules. If missing, run `gws generate-skills` to create it.
```bash
gws drive <resource> <method> [flags]
```
## Helper Commands
| Command | Description |
| ----------------------------------------- | ------------------------------------- |
| [`+upload`](../gws-drive-upload/SKILL.md) | Upload a file with automatic metadata |
## API Resources
### about
- `get` — Gets information about the user, the user's Drive, and system capabilities. Required: The `fields` parameter must be set.
### files
- `copy` — Creates a copy of a file and applies any requested updates with patch semantics.
- `create` — Creates a file. Supports upload via `--upload` flag. Max file size: 5,120 GB.
- `download` — Downloads the content of a file.
- `export` — Exports a Google Workspace document to the requested MIME type. Limited to 10 MB.
- `get` — Gets a file's metadata or content by ID. Use `alt=media` for content.
- `list` — Lists the user's files. Supports `q` parameter for search queries. Returns all files including trashed by default.
- `update` — Updates a file's metadata, content, or both. Supports patch semantics and upload.
- `watch` — Subscribes to changes to a file.
### drives
- `create` — Creates a shared drive.
- `get` — Gets a shared drive's metadata by ID.
- `list` — Lists the user's shared drives. Supports `q` parameter