@command
@arg('target', help='Deployment target (Swift container name)')
@arg('zapp', help='A ZeroVM application')
@arg('--execute', action='store_true', help='Immediately '
     'execute the deployed Zapp (for testing)')
@arg('--summary', '-s', action='store_true',
     help='Show execution summary table (use with `--execute`)')
@arg('--force', '-f', action='store_true',
     help='Force deployment to a non-empty container')
@login_args
@arg('--no-ui-auth', action='store_true',
     help='Do not generate any authentication code for the web UI')
@with_logging
def deploy(args):
    """Deploy a ZeroVM application

    This deploys a zapp onto Swift. The zapp can be one you have
    downloaded or produced yourself with "zpm bundle".

    You will need to know the Swift authentication URL, username,
    password, and tenant name. These can be supplied with command line
    flags (see below) or you can set the corresponding environment
    variables. The environment variables are the same as the ones used
    by the Swift command line tool, so if you're already using that to
    upload files to Swift, you will be ready to go.
    """
    LOG.info('deploying %s' % args.zapp)
    zpm.deploy_project(args)
dataset/ETHPy150Open zerovm/zerovm-cli/zpmlib/commands.py/deploy/original