The current built-in scripting capability is very nice for automating the execution of a series of commands.
However, there isn't any built-in way to run a command IF certain criteria are met (based on say whether or not a previous command "succeeded".
This may be beyond the scope of what cmd2 is intended to provide. But if there was an easy way to add this functionality, it would be useful.
The current built-in scripting capability is very nice for automating the execution of a series of commands.
However, there isn't any built-in way to run a command IF certain criteria are met (based on say whether or not a previous command "succeeded".
This may be beyond the scope of what cmd2 is intended to provide. But if there was an easy way to add this functionality, it would be useful.