<s> '''<STR_LIT>''' <EOL> import click <EOL> import legofy <EOL> from legofy import palettes <EOL> @ click . command ( ) <EOL> @ click . argument ( '<STR_LIT:image>' , required = True , type = click . Path ( dir_okay = False , <EOL> exists = True , <EOL> resolve_path = True ) ) <EOL> @ click . argument ( '<STR_LIT>' , default = None , required = False , <EOL> type = click . Path ( resolve_path = True ) ) <EOL> @ click . option ( '<STR_LIT>' , default = None , type = int , <EOL> help = '<STR_LIT>' ) <EOL> @ click . option ( '<STR_LIT>' , default = False , <EOL> help = '<STR_LIT>' ) <EOL> @ click . option ( '<STR_LIT>' , default = None , <EOL> type = click . Choice ( palettes . legos ( ) . keys ( ) ) , <EOL> help = '<STR_LIT>' ) <EOL> def main ( image , output , size , palette , dither ) : <EOL> '''<STR_LIT>''' <EOL> legofy . main ( image , output_path = output , size = size , <EOL> palette_mode = palette , dither = dither ) </s>
