| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Change-Id: I4c7c7dd27ac5e0ee98089e5be892df7759cba377
|
|
|
|
| |
Change-Id: I3aa10ae666c5806048145b7640e705bc5fca16ea
|
|
|
|
|
|
|
|
|
|
| |
Set a class attribute on the App to force the input/output
encoding in case neither stdout nor getdefaultencoding() have
a valid value. This case comes up sometimes under test runners
that capture stdout, without setting up a proper encoding
for the stream capture buffer.
Change-Id: Iab1d0b1549e1d00f64ef36765852261c108e0388
|
|
|
|
| |
Change-Id: I28b35a92885d48c7b7860baaaaafd502a0c497e6
|
|\
| |
| | |
Fix default encoding issue with python 2.6
|
| |
| |
| |
| | |
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
|
| |
| |
| |
| | |
Change-Id: I192f5a7a8e21a097b2e501995a7e2d90c5dbbea8
|
|/
|
|
|
|
|
| |
Work around for
https://bitbucket.org/catherinedevlin/cmd2/issue/6/packaging-bug
Change-Id: I8a18825d0660c21649a8d838635832959eee8a40
|
|
|
|
| |
Change-Id: I1c1f20b51fdfb84b3ed657d26dccedfd23e780eb
|
|
|
|
| |
Change-Id: I42e9a9a74af9f5608e67e20f131f6a7155179037
|
|\
| |
| | |
Add make_columns() to show.ShowOne
|
|/
|
|
|
| |
Add ShowOne.dict2columns() to handle the common process of displaying
a single dict as two columns of key and value.
|
|
|
|
| |
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
|
|
|
|
| |
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
|
|
|
|
| |
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
|
|
|
|
| |
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
|
|\
| |
| | |
Remove explicit depend on distribute.
|
|/
|
|
| |
As per discussions with dstufft, explicit depends on distribute are
leading to pain - and will do more so with setuptools 0.7 out.
|
|
|
|
| |
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
|
|\
| |
| | |
Expose instantiated interpreter instance
|
|/
|
|
| |
variable on the App instance.
|
|
|
|
| |
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
|
|
|
|
| |
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
|
|
|
|
| |
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
|
|\
| |
| | |
cmd2 0.6.5.1 was released, and is compatible
|
| | |
|
|\ \
| |/
|/| |
Restore compatibility with Prettytable < 0.7.2
|
|/
|
|
|
|
|
| |
Starting with 0.7.2, PrettyTable changed default on how empty
tables are rendered. Before they were completely ommitted, now
the default is to show the table headers and decoration, just
no content. Restore the previous behavior to stay compatible.
|
|
|
|
|
| |
Change-Id: I138c53d12577d9afe698759e1819132ba976c606
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
|
|\
| |
| | |
Bump prettytable version accepted
|
|/ |
|
|
|
|
|
| |
Change-Id: I55c1238e078ade1aff02cb026c32c2e0120b4b17
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
|
|
|
|
|
| |
Change-Id: I34990c619e66df21148f28bc6d6d743332a4fa16
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
|
|
|
|
|
|
|
|
| |
Add tests for the convert_underscores option
to CommandManager.
Change-Id: I5f91bb539bce69936ea86f7a370df2412c3a913c
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
|
|
|
|
|
| |
Change-Id: I25af2e978a8d11b84b930308516d597c75b387e0
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
|
|\
| |
| | |
Make converting underscores optional in CommandManager
|
| | |
|
|/ |
|
|
|
|
|
| |
Change-Id: I19cc26b88f80fa3a848713e94d3d1aa1a26de121
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
|
|
|
|
|
| |
Change-Id: I809abaef23be9e71b3a9a7f7546bf73728deb6a2
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
|
|
|
|
|
|
|
|
|
| |
Peg the version of PyParsing based on the Python version,
at least until cmd2 can be updated with a release that does
the same.
Change-Id: Ib9a7aad26ad8247706db16ee52cc385678062c51
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
|
|\
| |
| | |
Fix typo.
|
|/ |
|
|
|
|
|
| |
Change-Id: I8654dca5929ba7c8f5c4074461fa17b45940d1fc
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
|
|\
| |
| | |
Make list of application commands lexicographically ordered for help command in interactive mode
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
| |
in interactive mode.
Before fix:
Application commands (type help <topic>):
=========================================
files two part list files simple show file file error help
After fix:
Application commands (type help <topic>):
=========================================
error file files help list files show file simple two part
|
|
|
|
|
|
|
|
| |
Update version number and finish release notes and announcement
blog post.
Change-Id: I9c618b0ce950aaaa089588018f013d3a498eb6fc
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
|
|
|
|
|
| |
Change-Id: Ic20cd187aa35a7eef3101437fd25f465224c8203
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
|
|
|
|
|
|
|
|
|
|
| |
Update the installation instructions to include information
about using Distribute instead of setuptools.
Addresses issue #20
Change-Id: If09d63481fbc961a29be81f6c627c8c1c992020b
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
|