Create Snapshot (zeysdk snapshot create)
Create a backup of the current project state.
zeysdk snapshot create [comment]
Parameters
| Parameter | Description | Required | Example |
|---|---|---|---|
comment | Description of the snapshot | ❌ | "Initial setup" |
Examples
# Create with comment
zeysdk snapshot create "Initial setup"
# Output: Snapshot created successfully: 20231101-123456.zip
# Interactive comment prompt
zeysdk snapshot create
# Output: Please enter a comment for the snapshot: Initial setup
# Snapshot created successfully: 20231101-123456.zip
# Create with version info
zeysdk snapshot create "Release v2.1.0"
# Output: Snapshot created successfully: 20231101-124567.zip
# Create before major update
zeysdk snapshot create "Pre-update: Payment API"
# Output: Snapshot created successfully: 20231101-125678.zip