Skip to content
This repository has been archived by the owner on Jun 17, 2024. It is now read-only.

IBM/backwork-upload-swift

Repository files navigation

backwork-upload-softlayer Build Status PyPI version

Add support for SoftLayer uploads on backwork.

Installing

You can use pip to install this plug-in:

$ pip install backwork-upload-softlayer

Using

After installing the plug-in you will be able to use the upload softlayer command on backwork.

$ backwork upload softlayer --help
usage: backwork upload softlayer [-h] [-u USERNAME] [-p API_KEY]
                                [-d DATACENTER] [-c CONTAINER]
                                [local_path] remote_path

Upload a file to Softlayer ObjectStorage.

positional arguments:
  local_path            path in the local file system of the file to be
                        uploaded
  remote_path           path on Softlayer ObjectStorage container where the
                        file will be stored

optional arguments:
  -h, --help            show this help message and exit
  -u USERNAME, --username USERNAME
                        username for Softlayer ObjectStorage API
  -p API_KEY, --api-key API_KEY
                        api key for Softlayer ObjectStorage API
  -d DATACENTER, --datacenter DATACENTER
                        datacenter where the file will be stored
  -c CONTAINER, --container CONTAINER
                        target container