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
2014-03-25 11:36:39 +00:00
2018-06-11 17:25:21 +01:00
2018-07-13 11:24:24 -07:00
2014-05-09 09:29:04 +02:00
2017-01-25 15:12:59 -08:00
2018-04-25 09:33:54 -04:00
2018-01-30 00:28:17 +00:00
2018-01-30 00:28:17 +00:00
2012-05-08 16:30:13 +01:00
2013-05-01 12:23:12 -04:00
2018-06-07 22:38:41 +08:00
2018-04-25 09:33:54 -04:00
2012-05-21 12:52:55 +02:00
2018-04-25 09:33:54 -04:00
2018-04-25 09:33:54 -04:00
2018-04-25 09:33:54 -04:00

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:

Description
OpenStack Storage (Swift) Client
Readme 14 MiB
Languages
Python 99.9%
Shell 0.1%