def done(self, status=OK):
        """
        @type   status: str
        """
        padding = ' ' * ((self.max_term_width - 6) - len(self.message))
        suffix = click.style(']', fg=self.color, bold=self.bold)
        message = '{msg}{pad}[{status}{suf}'.format(msg=self.message, pad=padding, status=status, suf=suffix)
        stdout = click.get_text_stream('stdout')
        stdout.write('\r\033[K')
        stdout.flush()
        click.secho(message, fg=self.color, bold=self.bold)
def done ( self , status = OK ) : padding = ' ' * ( ( self . max_term_width - 6 ) - len ( self . message ) ) suffix = click . style ( ']' , fg = self . color , bold = self . bold ) message = '{msg}{pad}[{status}{suf}' . format ( msg = self . message , pad = padding , status = status , suf = suffix ) stdout = click . get_text_stream ( 'stdout' ) stdout . write ( '\r\033[K' ) stdout . flush ( ) click . secho ( message , fg = self . color , bold = self . bold )
@type   status: str