Drive Storage and Page Hosting
Choose a delivery method
Section titled “Choose a delivery method”| 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 |
anycap drive upload result.png --parent-path /deliverablesanycap drive share --src-path /deliverables/result.png --expires 7dDrive 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:
anycap page deploy ./dist --name "Launch Report" --publishThe CLI saves the site binding in anycap.toml:
[page]site_id = "pg_aBcDeFg"name = "Launch Report"Subsequent releases need no site identifier:
anycap page deploy ./dist --publishPage supports version history, publish, unpublish, rollback, password access, and SPA fallback. Use named targets only when one working directory intentionally manages multiple sites.