-
Notifications
You must be signed in to change notification settings - Fork 127
Closed
Labels
Description
The section in Sphinx on pyscript command needs a bit of updating.
Topics to cover:
- Running commands with
app() - Developing a basic scripting API that only relies on stdout and stderr in
CommandResult - Developing an advanced scripting API that includes populating
cmd2.last_resultwhich becomesCommandResult.data - Utilizing
StdSim.pause_storageto avoid duplicating data already stored inCommandResult.data - Processing a
CommandResultobject returned from app() - Exposing custom data values with
self.py_locals.
tleonhardt and KyleKing