Commit Graph

3 Commits (79d886106671bfb8e5dca74c733007e03388fab5)

Author SHA1 Message Date
tanlin ce212218cf Append extra space after command in bash_completion
Unlike NovaClient or other Clients in OpenStack, 
there is no space append after command in Heat Client.
That means if I try to run 'heat stack-delete', I have 
to manually append the space and then append the thing 
I want to delete.
This correction will help Heat Client to be more 
convenient for operators.

Change-Id: I229653f0a1ecc2794cdb8006c22a70882084d7e1
2014-06-11 09:56:36 +00:00
Thomas Herve a609d95bd2 Enable default in bash completion
This adds default options to bash completion, allowing to put filenames
after options like --template-file.

Change-Id: I8881028186f26d8fccb611daabf92ba028ca41a8
2014-02-06 09:13:26 +01:00
ZhiQiang Fan 992d6f5350 Supports bash_completion for heatclient
bash_completion feature can improve CLI user experience, projects like
nova, keystone, and cinder already support it.

NOTE: this patch just provides simple functionality, which means cache
for IDs and names is not used (like nova).

Closes-Bug: #1260939
Change-Id: I327e884e1c5907c9ff6f31131c70aee659cca58e
2013-12-16 23:04:24 +08:00