OpenStack Storage (Swift) Client
Go to file
Matthew Oliver 45ed21c6c4 Add bash_completion to swiftclient
This patch basically follows the bash completion
model that other OpenStack clients use. It creates
a new command to swiftclient called `bash_completion`.

The `bash_completion` command by default will print
all base flags and exsiting commands. If you pass
it a command, it'll print out all base flags and
any flags that command accepts. So as you type out
your swift command and auto-complete, only the current
available flags are offered to you.

This is used by the swift.bash_completion script to
allow swift commands to be bash completed.

To make it work, place the swift.bash_completion file
into /etc/bash_completion.d and source it:

  cp tools/swift.bash_completion /etc/bash_completion.d/swift
  source /etc/bash_completion.d/swift

Because swiftclient itself is creating this flag/command output
it should automatically add anything we add to the swiftclient
CLI.

Change-Id: I5609a19018269762b4640403daae5827bb9ad724
2018-07-13 11:24:24 -07:00
bin Make bin/swift testable part 2 2014-03-25 11:36:39 +00:00
doc Add option for user to enter password 2018-06-11 17:25:21 +01:00
examples Merge "Fix examples and missing code-block" 2016-08-25 20:29:54 +00:00
releasenotes Update reno for stable/queens 2018-01-29 09:21:32 -08:00
swiftclient Add bash_completion to swiftclient 2018-07-13 11:24:24 -07:00
tests Add ability to generate a temporary URL with an 2018-07-10 15:23:30 +01:00
tools Add bash_completion to swiftclient 2018-07-13 11:24:24 -07:00
.coveragerc remove swiftclient/openstack/common/* in the .coveragerc 2016-09-21 15:48:35 +08:00
.functests Fix running the unittests under py3 2014-05-09 09:29:04 +02:00
.gitignore do hand-curated authors/changelog files 2015-09-04 18:29:30 +01:00
.gitreview Add openstack project infrastructure. 2012-05-16 17:30:46 -04:00
.mailmap 3.3.0 authors/changelog update 2017-01-25 15:12:59 -08:00
.manpages adding .manpages script to swift client 2016-02-25 16:07:28 -05:00
.testr.conf Fix running the unittests under py3 2014-05-09 09:29:04 +02:00
.unittests Add functional tests for python-swiftclient 2014-05-05 11:53:37 +02:00
.zuul.yaml add lower-constraints job 2018-04-25 09:33:54 -04:00
AUTHORS authors/changelog updates for 3.5.0 release 2018-01-24 08:36:58 +11:00
CONTRIBUTING.rst Update the old http doc links 2018-01-30 00:28:17 +00:00
ChangeLog authors/changelog updates for 3.5.0 release 2018-01-24 08:36:58 +11:00
LICENSE Add CHANGELOG LICENSE and MANIFEST.in 2012-05-08 16:30:13 +01:00
MANIFEST.in Switch to pbr for setup. 2013-05-01 12:23:12 -04:00
README.rst Remove PyPI downloads 2018-06-07 22:38:41 +08:00
bindep.txt Update the old http doc links 2018-01-30 00:28:17 +00:00
lower-constraints.txt add lower-constraints job 2018-04-25 09:33:54 -04:00
requirements.txt add lower-constraints job 2018-04-25 09:33:54 -04:00
run_tests.sh Add run_tests.sh script here. 2012-05-21 12:52:55 +02:00
setup.cfg add lower-constraints job 2018-04-25 09:33:54 -04:00
setup.py add lower-constraints job 2018-04-25 09:33:54 -04:00
test-requirements.txt add lower-constraints job 2018-04-25 09:33:54 -04:00
tox.ini add lower-constraints job 2018-04-25 09:33:54 -04:00

README.rst

Team and repository tags

image

Python bindings to the OpenStack Object Storage API

Latest Version

This is a python client for the Swift API. There's a Python API (the swiftclient module), and a command-line script (swift).

Development takes place via the usual OpenStack processes as outlined in the OpenStack wiki.

This code is based on the original client previously included with OpenStack's Swift The python-swiftclient is licensed under the Apache License like the rest of OpenStack.

Contents: