| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Change-Id: I040fccd1714dccd7a87aaf10d397ad3a3ef476d3
|
|
|
|
|
|
|
| |
There were some in both the docs and the demo application.
Change-Id: I58d14cd3a372f9bdf617cbfbcb5ce34169ac83f8
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
|
|
|
|
|
|
|
|
| |
With the advent of importlib, entry points are no long a setuptools-only
thing. Update the docs to reflect that.
Change-Id: I099f397ddb4d71879597cfe67ef2a1eff4a8d1af
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
|
|
|
|
|
|
|
|
|
| |
- Detects module name if needed
- Updates demoapp
Change-Id: Ie0cd9d507fcb4c32ab98e51f61741d529ff41cac
Closes-Bug: 1779218
Signed-off-by: Sorin Sbarnea <ssbarnea@redhat.com>
|
|
|
|
|
|
|
|
| |
Add hooks that are called before and after the take_action() method of
the command.
Change-Id: Id6527dfe0946c0ab169fc165b84d40f3ff95e08c
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
|
|
|
|
|
| |
Change-Id: If3fe077522c156472a0213e8768470e0505c189d
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
|
|
|
|
|
|
|
|
|
|
| |
Update Commands to load a separate set of extensions to be used as
"hooks," triggered at different points in the processing of the
command. Start with a hook that is given access to the argument parser
for the command so it can modify it.
Change-Id: I0785548fd36a61cda616921a4a21be3f67701300
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
|
|
|
|
|
|
| |
This commit fixes cliff URLs in the documents and demoapp.
Change-Id: I5a190841d1126119eddacedd02667efd52709330
|
|
|
|
| |
Change-Id: Ia48866e17d5823a2ccc85172c717581316ad05a7
|
|
|
|
|
|
|
| |
The demo application was creating a new logger instance instead of using
the one built into the base class.
Change-Id: I980b180132cf20f7d2420e8f61e341760674aac0
|
|
|
|
|
|
|
| |
Go ahead and require the version of pyparsing that supports
python 2 and 3.
Change-Id: Icdeb7c4a4aeaab9fcc4a44b091a068f91553adf6
|
|
|
|
| |
Change-Id: I3bbd270a2a0ed6eee6eb12a326f86aaad84f2aad
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change addresses issue #38: "fix unicode handling issues".
The issue was originally reported against neutron client
(https://bugs.launchpad.net/python-neutronclient/+bug/1189112) but
was tracked down to the fact that python 2.6 does not set the default
encoding for sys.stdout properly. A change to python 2.7 fixes the
problem there and later (http://hg.python.org/cpython/rev/e60ef17561dc/),
but since cliff supports python 2.6 it needs to handle the case
explicitly.
Change-Id: Id06507d78c7c82b25f39366ea4a6dfa4ef3a3a97
|
| |
|
|
|
|
|
|
|
| |
Clean up docstrings.
Bump version to 1.0.
Change-Id: I1047c637ffed4ffac8bffbdaa1bddc56895716d9
|
|
|
|
|
|
| |
subclasses.
Rename get_data() to take_action() so subclasses that do something other than query for values have a clear place to override.
|
|
|
|
| |
words
|
|
|
|
| |
initialization to do
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
individual object
make the table formatter work as a single object formatter
update the docs for the new features
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
the new url.
|
| |
|
|
|
|
| |
different formats, using prettytable as an example formatter
|
| |
|
| |
|
|
|
|
| |
before and after a command runs
|
| |
|
| |
|
|
|
|
| |
subcommands available
|
|
|