<s> """<STR_LIT>""" <EOL> import click <EOL> import SoftLayer <EOL> from SoftLayer . CLI import environment <EOL> from SoftLayer . CLI import formatting <EOL> from SoftLayer . CLI import helpers <EOL> from SoftLayer import utils <EOL> @ click . command ( ) <EOL> @ click . argument ( '<STR_LIT>' ) <EOL> @ click . option ( '<STR_LIT>' , <EOL> is_flag = True , <EOL> help = "<STR_LIT>" ) <EOL> @ environment . pass_env <EOL> def cli ( env , identifier , password ) : <EOL> """<STR_LIT>""" <EOL> iscsi_mgr = SoftLayer . ISCSIManager ( env . client ) <EOL> iscsi_id = helpers . resolve_id ( iscsi_mgr . resolve_ids , identifier , '<STR_LIT>' ) <EOL> result = iscsi_mgr . get_iscsi ( iscsi_id ) <EOL> result = utils . NestedDict ( result ) <EOL> table = formatting . KeyValueTable ( [ '<STR_LIT:name>' , '<STR_LIT:value>' ] ) <EOL> table . align [ '<STR_LIT:name>' ] = '<STR_LIT:r>' <EOL> table . align [ '<STR_LIT:value>' ] = '<STR_LIT:l>' <EOL> table . add_row ( [ '<STR_LIT:id>' , result [ '<STR_LIT:id>' ] ] ) <EOL> table . add_row ( [ '<STR_LIT>' , result [ '<STR_LIT>' ] ] ) <EOL> table . add_row ( [ '<STR_LIT>' , result [ '<STR_LIT>' ] ] ) <EOL> table . add_row ( [ '<STR_LIT>' , result [ '<STR_LIT>' ] ] ) <EOL> table . add_row ( [ '<STR_LIT>' , result [ '<STR_LIT>' ] ] ) <EOL> if result [ '<STR_LIT>' ] : <EOL> table . add_row ( [ '<STR_LIT>' , result [ '<STR_LIT>' ] ] ) <EOL> table . add_row ( [ '<STR_LIT>' , result [ '<STR_LIT>' ] ] ) <EOL> table . add_row ( [ '<STR_LIT>' , <EOL> result [ '<STR_LIT>' ] ] ) <EOL> table . add_row ( [ '<STR_LIT>' , result [ '<STR_LIT>' ] [ '<STR_LIT>' ] ] ) <EOL> table . add_row ( [ '<STR_LIT>' , result [ '<STR_LIT>' ] [ '<STR_LIT:id>' ] ] ) <EOL> if result . get ( '<STR_LIT>' ) : <EOL> table . add_row ( [ '<STR_LIT>' , result [ '<STR_LIT>' ] ] ) <EOL> if password : <EOL> pass_table = formatting . Table ( [ '<STR_LIT:username>' , '<STR_LIT:password>' ] ) <EOL> pass_table . add_row ( [ result [ '<STR_LIT:username>' ] , result [ '<STR_LIT:password>' ] ] ) <EOL> table . add_row ( [ '<STR_LIT>' , pass_table ] ) <EOL> env . fout ( table ) </s>
