<s> """<STR_LIT>""" <EOL> import click <EOL> import SoftLayer <EOL> from SoftLayer . CLI import environment <EOL> from SoftLayer . CLI import exceptions <EOL> from SoftLayer . CLI import formatting <EOL> from SoftLayer . CLI import helpers <EOL> @ click . command ( ) <EOL> @ click . argument ( '<STR_LIT>' ) <EOL> @ environment . pass_env <EOL> def cli ( env , identifier ) : <EOL> """<STR_LIT>""" <EOL> mgr = SoftLayer . NetworkManager ( env . client ) <EOL> subnet_id = helpers . resolve_id ( mgr . resolve_subnet_ids , identifier , <EOL> name = '<STR_LIT>' ) <EOL> if not ( env . skip_confirmations or formatting . no_going_back ( subnet_id ) ) : <EOL> raise exceptions . CLIAbort ( '<STR_LIT>' ) <EOL> mgr . cancel_subnet ( subnet_id ) </s>
