summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Expose load_commands publiclyJamie Lennox2014-05-234-60/+55
| | | | | | | | This will allow us to load commands from other entrypoints into the list. It brings together the two CommandManager overrides in tests into one place in utils to simply usage. Change-Id: Ib463eff98c2ac04488ce4a8875cf3e1b7779b27c
* Updated from global requirementsOpenStack Proposal Bot2014-04-302-3/+19
| | | | Change-Id: I934f67643ed407ef3f12a9a2d0d9f695cb88038e
* Fix pep8 failures on rule E265Andrea Frittoli2014-04-251-42/+42
| | | | Change-Id: I5aae8afb822c1a840572c75120f16432f317cedd
* Remove PrettyTable from documentation requirements1.6.1Terry Howe2014-04-071-1/+0
| | | | | | | | Remove PrettyTable from documentation build requirements, it should be installed when cliff is installed Change-Id: If870128aafdbc5ace8d9185aff479926481fb8ee Closes-Bug: #1268339
* Merge "Import run_cross_tests.sh from oslo-incubator"Jenkins2014-04-042-0/+77
|\
| * Import run_cross_tests.sh from oslo-incubatorDoug Hellmann2014-04-032-0/+77
| | | | | | | | | | | | | | | | | | | | | | Add the script for running unit tests in other projects so we can establish cross-project gate jobs. Depends on https://review.openstack.org/#/c/83411/ and https://review.openstack.org/#/c/83412/ Change-Id: I3d3e25f92ab6337432b54967a381662f32902a6d
* | Fix a bug in ShellFormatter's escaping of double quotes in strings.Ryan Petrello2014-04-032-3/+20
| | | | | | | | | | Fixes bug: 1302066 Change-Id: I7fe066165ce11cfe977a18c0e49a55ff84ba4187
* | add doc requirements to venvDoug Hellmann2014-04-033-2/+2
| | | | | | | | Change-Id: Idb93d5ad7e9987a60cb5845e83ccdcab49f35f65
* | Merge "Add max-width support for table formatter"1.6.0Jenkins2014-03-281-1/+12
|\ \ | |/ |/|
| * Add max-width support for table formatterQiu Yu2014-03-241-1/+12
| | | | | | | | | | Change-Id: If6198ede935907396454e72fc76f8ec9c1265eb6 Closes-Bug: #1269299
* | Add value only output formattterTerry Howe2014-03-173-0/+31
| | | | | | | | | | | | | | | | | | | | | | It may be useful to have a value only output formatter to perform operationgs like: TOKEN=$(openstack token create -c id -f value) Rather than: eval $(openstack token create -c id -f shell) TOKEN="${id}" Change-Id: I7bda3cc1a1d154a05e8e31eed564dae1e82066d6 Closes-Bug: #1292578
* | Update readme with links to bug tracker and sourceDoug Hellmann2014-03-041-4/+4
| | | | | | | | | | | | | | This update is based on the oslo-cookiecutter template for the README for a new library. Change-Id: I3ee1e22377e1dcca86ca3d5b208abc3c9dea70a9
* | Merge "Move pep8 dependency into pep8 tox test"Jenkins2014-02-221-1/+0
|\ \
| * | Move pep8 dependency into pep8 tox testDirk Mueller2014-02-211-1/+0
| | | | | | | | | | | | | | | | | | The other unit tests do not require pep8 Change-Id: I7ac68bb3ff48a76a6dd3db08a05827831069f141
* | | Merge "Fix interactive mode with command line args"Jenkins2014-02-211-0/+3
|\ \ \ | |/ / |/| |
| * | Fix interactive mode with command line argsTerry Howe2014-02-201-0/+3
| |/ | | | | | | | | | | | | The cmdloop in cmd2 looks for a --test option in the parsed arguments which doesn't work if you want to pass other arguments in interactive mode. If any other arguments are passed in, an exception is thrown. Change-Id: Iacd3d338dce74f4de9eaf5c9c8ad8ac9f9ae32e3 Closes-Bug: #1103218
* | Merge "Sync with global requirements"Jenkins2014-02-212-7/+7
|\ \
| * | Sync with global requirementsSascha Peilicke2014-01-162-7/+7
| | | | | | | | | | | | Change-Id: Ibd2a7c044752416deb4bf9f0984e53f74fe7621c
* | | Merge "Fix doc build with Python 2.6.x"Jenkins2014-02-211-4/+2
|\ \ \ | |_|/ |/| |
| * | Fix doc build with Python 2.6.xDirk Mueller2014-02-211-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | subprocess.check_output was new in Python 2.7. Use an alternative construct via subprocess.Popen which works on Python 2.6 as well. Change-Id: I0b44fc19183f1c6b23fe5a9cce31de381809534d
* | | Update .gitreview after repo renameDoug Hellmann2014-02-071-1/+1
| | | | | | | | | | | | Change-Id: I6b6e20a7884b47ade466fc38641a5ac1a5f3e146
* | | Escape double quotes in shell formatterClint Byrum2014-02-032-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | Before this change the shell formatter could not be trusted to output anything with double quotes. With this change we can pass the output directly to the shell for evaluation. Change-Id: I8f2bf23a1523f6f02e5ce8563038b20e079b52da Closes-Bug: #1269908
* | | Add unit test for shell formatterClint Byrum2014-02-031-0/+20
|/ / | | | | | | | | | | | | This is in prepration for changing the behavior to escape double quotes. Change-Id: Ib82511d066d70a1603b80ba8680b005e00113483 Related-Bug: #1269908
* | Rename private attribute to avoid conflictDoug Hellmann2014-01-282-5/+5
|/ | | | | | | | | The neutronclient code is using '_formatters' for some column formatters. Rather than change their code in multiple branches, just rename our use of _formatters here to a unique name. Change-Id: I85272bcf4c3daa5fbb52ab75945e567a786bd203
* Add integration tests with known consumersDoug Hellmann2014-01-036-1/+90
| | | | | | | Run the tests of some consumers of cliff to ensure that changes being made do not break the apps or downsteam libraries. Change-Id: Ifded67608b49044cc6a0832389ad7fe825148a3c
* update history for previous changeDoug Hellmann2014-01-031-0/+6
| | | | Change-Id: I3bdf7f1293b00b563bc3332c6d6336f68e0f20e8
* Make the formatters a private part of the commandDoug Hellmann2014-01-032-11/+5
| | | | | | | | python-neutronclient was modifying the formatters set, but those objects were always meant to be private. Rename "formatters" to "_formatters" to make that clear. Change-Id: I993c948384201ef64c6fd0c957fa854bc4eed9d6
* move to pbr for packaging1.5.2Doug Hellmann2014-01-036-180/+67
| | | | Change-Id: I93e4f54d1b81f53615774aa5f79b3e6a9941a55d
* add venv environ to tox config1.5.1Doug Hellmann2014-01-031-0/+3
| | | | Change-Id: I9c2091ccac212e7bd8f5f6af571426dd10a1d18e
* Update history for next release1.5.0Doug Hellmann2014-01-032-5/+7
| | | | Change-Id: Ibc424639b06362ce915776ea5914860e809ce25e
* Move to stackforgeDoug Hellmann2013-12-206-15/+32
| | | | | | | Update links in documentation, add a contributing file, and update the tox configuration file. Change-Id: I42b5a652501160978c7896b8eabfb46061cd80ed
* update history for stevedore changeDoug Hellmann2013-11-121-0/+1
|
* Use stevedore to load formatter pluginsDoug Hellmann2013-11-122-18/+17
|
* use entry points for completion pluginsDoug Hellmann2013-11-123-10/+23
|
* Clean up recursive data handlingDoug Hellmann2013-11-121-5/+3
|
* Always install complete commandDoug Hellmann2013-11-121-0/+2
|
* attribution for bash completion work in historyDoug Hellmann2013-11-121-0/+1
|
* Merge commit '60361edf68cf5822d96e215d71fe14260df01ec4' into completionDoug Hellmann2013-11-124-0/+361
|\ | | | | | | | | | | | | | | | | | | # By Terry Howe # Via Doug Hellmann (1) and Terry Howe (1) * commit '60361edf68cf5822d96e215d71fe14260df01ec4': code style fixes code style fixes various python code optimizations; shuffle I/O to shell classes add bash complete
| * Merge pull request #9 from TerryHowe/masterDoug Hellmann2013-11-124-0/+361
| |\ | | | | | | add bash complete
| | * code style fixesTerry Howe2013-10-311-14/+16
| | |
| | * code style fixesTerry Howe2013-10-311-7/+4
| | |
| | * various python code optimizations; shuffle I/O to shell classesTerry Howe2013-10-302-169/+150
| | |
| | * add bash completeTerry Howe2013-10-254-0/+381
| |/
* | Enable debug in help modeDoug Hellmann2013-10-231-0/+5
| | | | | | | | | | | | | | Look for the debug flag when running the help command and log more details. Change-Id: Idbf294f9a63da650758cab175a24cfa65d482a68
* | Pass the right args when pulling help from commandsDoug Hellmann2013-10-232-1/+7
| | | | | | | | | | | | | | | | | | Pass the application, not the HelpCommand, to each command class when it is instantiated to extract the help text. Addresses #52 Change-Id: I8de7c37f859a5783b80d6ad8d8eab0099b773e08
* | prepare for 1.4.5 releaseDoug Hellmann2013-09-233-5/+7
| | | | | | | | Change-Id: Ifa496b7d9be42b0a78a979e4c3a852bbc37b9c17
* | Merge pull request #48 from dreamhost/pyparsing-updateDoug Hellmann2013-09-235-14/+11
|\ \ | |/ |/| Pyparsing update
| * add pypy test env configurationpyparsing-updateDoug Hellmann2013-09-232-1/+3
| | | | | | | | Change-Id: Iff4023d0078b7c1ac38396725f314f44e2ab2ffc
| * Update pyparsing dependency to 2.0.1Doug Hellmann2013-09-233-13/+8
|/ | | | | | | Go ahead and require the version of pyparsing that supports python 2 and 3. Change-Id: Icdeb7c4a4aeaab9fcc4a44b091a068f91553adf6
* update for release 1.4.41.4.4Doug Hellmann2013-08-293-3/+9
| | | | Change-Id: I573ce261de3d632116b8a926493ff6c0a3ec100e