@click.command()
@click.argument('identifier')
@click.option('--reason', help="An optional reason for cancellation")
@click.option('--immediate',
              is_flag=True,
              help="Cancels the iSCSI immediately instead of on the billing "
                   "anniversary")
@environment.pass_env
def cli(env, identifier, reason, immediate):

    iscsi_mgr = SoftLayer.ISCSIManager(env.client)
    iscsi_id = helpers.resolve_id(iscsi_mgr.resolve_ids, identifier, 'iSCSI')

    if not (env.skip_confirmations or formatting.no_going_back(iscsi_id)):
        raise exceptions.CLIAbort('Aborted')

    iscsi_mgr.cancel_iscsi(iscsi_id, reason, immediate)
Replaces the last 1/4 of a string with X's
dataset/ETHPy150Open softlayer/softlayer-python/SoftLayer/CLI/iscsi/cancel.py/cli--crossover with--dataset/ETHPy150Open saltstack/salt/salt/client/ssh/wrapper/grains.py/_serial_sanitizer