Commit Graph
4 Commits
Author SHA1 Message Date
Tarcísio Gruppi 1510d7e722 Updated tests to support exit code 2015-07-28 20:29:13 +02:00
Tarcísio Gruppi b79f884410 Updated README.md with exit code sample 2015-07-28 20:10:13 +02:00
Tarcísio Gruppi 49c1229409 Added exit code support
Now the exit code can be returned by BeforeFn, ActionFn and AfterFn.

The `os.Exit` function is not called by this packaged

This closes #66 and closes #164
2015-07-28 20:10:08 +02:00
Tarcísio Gruppi 9c0db3f4ac Created types for functions
The function used by BashComplete, Before, After, Action and
CommandNotFound have their won type.

This makes easier to change/update the API
2015-07-28 20:02:18 +02:00