summaryrefslogtreecommitdiff
path: root/cmd2/pyscript_bridge.py
Commit message (Collapse)AuthorAgeFilesLines
...
* Some more pyscripting tweaks. Fixed issue with capturing ppaged output. ↵Eric Lin2018-05-041-4/+17
| | | | Added pyscript bridge to ipy command. Saving progress.
* Added support for customizing the pyscript bridge pystate object name.Eric Lin2018-05-021-19/+41
| | | | | | | Removed all legacy pystate objects. Changed default behavior to clear _last_result before each command Added utility for creating named tuples with default values Added tests to exercise new changes.
* Added CommandResult which returns stdout, stderr, and command dataEric Lin2018-05-011-2/+37
|
* Added support for different argument modes and tests to validate.Eric Lin2018-05-011-3/+59
|
* Further customization of argparse applying patch submitted to ↵Eric Lin2018-04-301-0/+1
| | | | | | | https://bugs.python.org/issue15112 Added additional tests - now at 100% coverage of pyscript_bridge.py Still need handling of special action types: StoreTrue/False, store_const, count
* Added more tests exercising the pyscript bridge.Eric Lin2018-04-301-4/+9
|
* Added support for translating function positional and keyword arguments into ↵Eric Lin2018-04-281-9/+55
| | | | | | argparse command positional and flag arguments. Added initial set of tests
* small tweak. saving state.Eric Lin2018-04-271-6/+7
|
* Initial approach to the pyscript revamp.Eric Lin2018-04-241-0/+107
Doesn't handle all argparse argument options yet (nargs, append, flag, probably more) For #368