def do_describe(self, line):
        "describe [-c] {tablename}..."
        args = self.getargs(line)

        if '-c' in args:
            create_info = True
            args.remove('-c')
        else:
            create_info = False

        if not args:
            if self.table:
                args = [self.table.name]
            else:
                args = self.tables

        for table in args:
            desc = self.conn.describe_table(table)

            if create_info:
                info = desc['Table']
                schema = info['KeySchema']
                name = info['TableName']

                hkey = schema['HashKeyElement']
                hkey = "%s:%s" % (hkey['AttributeName'], hkey['AttributeType'])

                if 'RangeKeyElement' in schema:
                    rkey = schema['RangeKeyElement']
                    rkey = " %s:%s" % (rkey['AttributeName'], rkey['AttributeType'])
                else:
                    rkey = ''

                prov = info['ProvisionedThroughput']
                prov = "-c %d,%d" % (prov['ReadCapacityUnits'], prov['WriteCapacityUnits'])
                print "create %s %s %s%s" % (name, prov, hkey, rkey)
            else:
                self.pprint(desc, "%s: " % table)