<s> """<STR_LIT>""" <EOL> import click <EOL> import SoftLayer <EOL> from SoftLayer . CLI import environment <EOL> from SoftLayer . CLI import formatting <EOL> @ click . command ( ) <EOL> @ environment . pass_env <EOL> def cli ( env ) : <EOL> """<STR_LIT>""" <EOL> manager = SoftLayer . MessagingManager ( env . client ) <EOL> accounts = manager . list_accounts ( ) <EOL> table = formatting . Table ( [ '<STR_LIT:id>' , '<STR_LIT:name>' , '<STR_LIT:status>' ] ) <EOL> for account in accounts : <EOL> if not account [ '<STR_LIT>' ] : <EOL> continue <EOL> table . add_row ( [ account [ '<STR_LIT>' ] [ <NUM_LIT:0> ] [ '<STR_LIT>' ] , <EOL> account [ '<STR_LIT:name>' ] , <EOL> account [ '<STR_LIT:status>' ] [ '<STR_LIT:name>' ] ] ) <EOL> env . fout ( table ) </s>
