Kevin Van Brunt
Kevin Van Brunt
Printing exceptions with **rich** is a nice enhancement, but I'd rather not add **rich** as a requirement to use **cmd2**.
Set `self.self_in_py = True`. We default this to `False` so normal users can't mess with `self` in pyscripts or IPython shells. Typically in apps that I write, I include a...
In developer mode, I typically do the following: - `self.debug = True` - `self.self_in_py = True` If not in developer mode: - `self.self_in_py = False` - Add `ipy` and `py`...
@jayrod I just make developer mode a command line option when opening the app. I'm not worried if my users are aware of it, but other applications may want to...
In both `py` and `ipy` shells, you can do everything that's possible in a pyscript. Therefore, you don't need to call `self.do_foo()`. Just use `app('foo arg1 arg2')`. These shells offer...
First check if the example matches the current API. We are usually pretty good about updating examples when APIs change, but I wouldn't be surprised if some examples are broken....
@anselor > For example, today we would probably recommend you register/unregister CommandSets instead of manually hiding/showing commands. That's an interesting thing to bring up and could make for a good...
@jayrod I used Pycharm to inspect the code in the examples directory. It found an "Unresolved reference" error in colors.py that I just fixed. Doesn't look like there are any...
When input isn't coming from a tty, the prompt and input line are displayed only if `self.echo` is True.
@tleonhardt @anselor Can you think of a reason why capturing **stderr** would be problematic?