Jacob v0.1.1 Jacob.Command.Concerns.HasInfo behaviour View Source

Add various informations to a command.

This module is automatically used by your commands when using Jacob.Command

Link to this section Summary

Functions

Set the command’s desc

Set the command’s doc

Set the command’s name

Callbacks

Return the command’s description

Return the command’s doc

Return the command’s name

Link to this section Functions

Link to this macro desc(desc) View Source (macro)
desc(String.t()) :: Macro.t()

Set the command’s desc.

Set the command’s doc.

Link to this macro name(name) View Source (macro)
name(String.t()) :: Macro.t()

Set the command’s name.

Link to this section Callbacks

Return the command’s description.

Return the command’s doc.

Return the command’s name.