Skip to content

Commit c1812a9

Browse files
committed
Updated CHANGELOG with more details on breaking changes to poutput and perror
Also: - Updated README with more info on a couple more open-source applications using cmd2
1 parent 8b49dea commit c1812a9

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

CHANGELOG.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,12 @@
1818
* We make no API stability guarantees about these internal functions
1919
* Split `perror` into 2 functions:
2020
* `perror` - print a message to sys.stderr
21-
* `pexcept` - print Exception message to sys.stderr. If debug is true, print exception traceback if one exists.
22-
* Removed color parameters from `poutput` and `perror` since more powerful styles now exist. See the docstrings
23-
of these methods for more information on applying styles to output messages.
21+
* `pexcept` - print Exception message to sys.stderr. If debug is true, print exception traceback if one exists
22+
* Signature of `poutput` and `perror` significantly changed
23+
* Removed color parameters `color`, `err_color`, and `war_color` from `poutput` and `perror`
24+
* See the docstrings of these methods or the [cmd2 docs](https://cmd2.readthedocs.io/en/latest/unfreefeatures.html#poutput-pfeedback-perror-ppaged) for more info on applying styles to output messages
25+
* `end` argument is now keyword-only and cannot be specified positionally
26+
* `traceback_war` no longer exists as an argument since it isn't needed now that `perror` and `pexcept` exist
2427
* Moved `cmd2.Cmd.colors` to ansi.py and renamed it to `allow_ansi`. This is now an application-wide setting.
2528
* Renamed the following constants and moved them to ansi.py
2629
* `COLORS_ALWAYS` --> `ANSI_ALWAYS`

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -355,12 +355,16 @@ Here are a few examples of open-source projects which use `cmd2`:
355355
* [Ceph](https://ceph.com/) is a distributed object, block, and file storage platform
356356
* [JSShell](https://github.com/Den1al/JSShell)
357357
* An interactive multi-user web JavaScript shell
358+
* [psiTurk](https://psiturk.org)
359+
* An open platform for science on Amazon Mechanical Turk
358360
* [Jok3r](http://www.jok3r-framework.com)
359361
* Network & Web Pentest Automation Framework
360362
* [Poseidon](https://github.com/CyberReboot/poseidon)
361363
* Leverages software-defined networks (SDNs) to acquire and then feed network traffic to a number of machine learning techniques
362364
* [Unipacker](https://github.com/unipacker/unipacker)
363365
* Automatic and platform-independent unpacker for Windows binaries based on emulation
366+
* [FLASHMINGO](https://github.com/fireeye/flashmingo)
367+
* Automatic analysis of SWF files based on some heuristics. Extensible via plugins.
364368
* [tomcatmanager](https://github.com/tomcatmanager/tomcatmanager)
365369
* A command line tool and python library for managing a tomcat server
366370
* [mptcpanalyzer](https://github.com/teto/mptcpanalyzer)

0 commit comments

Comments
 (0)