docs: def inspect_bucket(bucket):
      """Show all information known on a bucket."""
      state = db.db()
      found = None
      for b in state.buckets():
          if b.name == bucket:
              found = b
      if not found:
          click.echo("no bucket named: %s" % bucket)
          return
  
      click.echo("Bucket: %s" % found.name)
      click.echo("Account: %s" % found.account)
      click.echo("Region: %s" % found.region)
      click.echo("Created: %s" % found.created)
      click.echo("Size: %s" % found.size)
      click.echo("Inventory: %s" % found.inventory)
      click.echo("Partitions: %s" % found.partitions)
      click.echo("Scanned: %0.2f%%" % found.percent_scanned)
      click.echo("")
      click.echo("Errors")
  
      click.echo("Denied: %s" % found.keys_denied)
      click.echo("BErrors: %s" % found.error_count)
      click.echo("KErrors: %s" % found.data['keys-error'].get(found.bucket_id, 0))
      click.echo("Throttle: %s" % found.data['keys-throttled'].get(found.bucket_id, 0))
      click.echo("Missing: %s" % found.data['keys-missing'].get(found.bucket_id, 0))
      click.echo("Session: %s" % found.data['keys-sesserr'].get(found.bucket_id, 0))
      click.echo("Connection: %s" % found.data['keys-connerr'].get(found.bucket_id, 0))
      click.echo("Endpoint: %s" % found.data['keys-enderr'].get(found.bucket_id, 0))