Jacob v0.1.1 Jacob.Command behaviour View Source

Provides the required hooks to create a command.

This module uses composition in order to add the required behaviours in your commands.

In order to know which functions are available in your commands you should have a look at the Jacob.Command.Concerns.* modules.

Link to this section Summary

Functions

Register a new concern for the command

Callbacks

This function will be called whenever someone will want to use your command

Link to this section Functions

Link to this macro add_concern(module) View Source (macro)

Register a new concern for the command.

Link to this section Callbacks

This function will be called whenever someone will want to use your command.

You’ll recieve the initialized argv as the fisrt argument.