[[command]]
name = "diskutil"
description = "macOS disk management utility (the CLI counterpart of Disk Utility.app) that can partition, format, erase, mount, unmount, verify, and repair physical disks and volumes. The destructive operations (eraseDisk, partitionDisk, mergePartitions) permanently destroy data, and mount/unmount operations change filesystem availability. The covered subcommands (list, listFilesystems, info, activity, apfs list/listCryptoUsers/listSnapshots/listVolumeGroups) are strictly read-only queries that report disk topology, volume metadata, APFS container structure, and I/O activity without modifying any disk state. The interface ships with macOS and changes only with OS releases."
url = "https://ss64.com/mac/diskutil.html"
bare_flags = ["--help", "--version", "-V", "-h"]

[[command.sub]]
name = "list"
standalone = ["--help", "-h", "-plist"]

[[command.sub]]
name = "listFilesystems"
standalone = ["--help", "-h", "-plist"]

[[command.sub]]
name = "info"
bare = false
standalone = ["--help", "-all", "-h", "-plist"]

[[command.sub]]
name = "activity"
standalone = ["--help", "-h"]

[[command.sub]]
name = "apfs"
[[command.sub.sub]]
name = "list"
standalone = ["--help", "-h"]
[[command.sub.sub]]
name = "listCryptoUsers"
standalone = ["--help", "-h"]
[[command.sub.sub]]
name = "listSnapshots"
standalone = ["--help", "-h"]
[[command.sub.sub]]
name = "listVolumeGroups"
standalone = ["--help", "-h"]
