# Examples

### Quick Maintenance

```bash
php artisan curtain:up --timer="5 minutes"
```

### Scheduled Update

```bash
php artisan curtain:up \
    --timer="2 hours" \
    --message="Scheduled database upgrade" \
    --template="modern" \
    --refresh
```

### Emergency Maintenance

```bash
php artisan curtain:up \
    --message="Emergency maintenance" \
    --template="default"
```

### Preview Before Deploy

```bash
# Preview first
php artisan curtain:preview \
    --timer="30 minutes" \
    --message="System update" \
    --template="modern"

# Then enable if satisfied
php artisan curtain:up \
    --timer="30 minutes" \
    --message="System update" \
    --template="modern"
```

### Development Testing

```bash
php artisan curtain:up \
    --timer="10 minutes" \
    --message="Testing maintenance mode"
```
