-
Notifications
You must be signed in to change notification settings - Fork 2
Commands
Brandon Weaver edited this page Jun 1, 2014
·
3 revisions
Usage: record
Starts recording a macro.
Defines a few extra instance variables on the pry session for saving the starting point of the recording, and a cache for defined macros that haven't been saved.
Usage: stop [-n name] [-d desc]
Stops recording a macro, loads the command, and caches it for later saving if
desired. If no name is provided, user will be prompted for one. Descriptions
may be provided, but will default to 'no description'
-n, --name Name to use to define the macro
-d, --desc Description of the macro
-v, --verbose Echoes back the macro definition
-h, --help Show this message.
Usage: save-macro [-p path]
Saves a cached macro to your ~/.pryrc or the path specified.
-p, --path Pathname to save macro in
-h, --help Show this message.
Fair warning, as of 0.0.2, there needs to be a .pryrc file in the directory you specify for it to save there. This will be fixed soon.