grayhemp / bats-mock

Mocking for Bats
The Unlicense
43 stars 10 forks source link

Add mocking of commands - closes #2 and #17 #20

Open mh182 opened 1 year ago

mh182 commented 1 year ago

Add an optional parameter to mock_create [command] to mock commands.

Adds following new functions:

I updated the documentation with some examples how those functions can be used.