Skip to content

Drive Storage and Page Hosting

Need Use
A human needs a file link Drive
A human needs to browse a report or static app Page
Another command needs a local file Pass the local path directly
Another agent needs a recoverable project Snapshot
Terminal window
anycap drive upload result.png --parent-path /deliverables
anycap drive share --src-path /deliverables/result.png --expires 7d

Drive supports folders, path- or ID-based addressing, move, delete, share, and unshare operations. Share expiration defaults to seven days.

Drive is not an intermediate upload service for image, video, or audio commands. Those commands accept local paths directly.

Deploy a static directory and publish the first version:

Terminal window
anycap page deploy ./dist --name "Launch Report" --publish

The CLI saves the site binding in anycap.toml:

[page]
site_id = "pg_aBcDeFg"
name = "Launch Report"

Subsequent releases need no site identifier:

Terminal window
anycap page deploy ./dist --publish

Page supports version history, publish, unpublish, rollback, password access, and SPA fallback. Use named targets only when one working directory intentionally manages multiple sites.