You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Add lockdown get command to query lockdown values (#658)
* Add lockdown get command to query lockdown values
Add new CLI command `ios lockdown get [<key>] [--domain=<domain>]` that allows
querying specific lockdown values from the device.
Examples:
- `ios lockdown get` - returns all lockdown values
- `ios lockdown get DeviceName` - returns just the device name
- `ios lockdown get ActivationState` - returns activation state
- `ios lockdown get TotalDiskCapacity --domain=com.apple.disk_usage` - query from specific domain
This is similar to pymobiledevice3's `lockdown get-value` command.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
* Improve lockdown get command with better error messages and docs
- Simplify key argument parsing
- Add context to error messages (include key/domain names)
- Improve comments explaining each code branch
- Add examples to help text including com.apple.PurpleBuddy domain
- Update README with lockdown get command documentation
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
---------
Co-authored-by: Claude <noreply@anthropic.com>