class Gen::Email

Included Modules

Defined in:

carbon/tasks/gen/email.cr

Constant Summary

PARSER_OPTS = [:email_name] of Symbol

Class Method Summary

Instance Method Summary

Class Method Detail

def self.task_help_message : String #

The help text to be displayed when a help flag is passed in (e.g. -h, --help) Use the help_message


def self.task_name : String #

The name of your task as derived by the class name Use the .task_name macro to define a custom task name


[View source]
def self.task_summary : String #

By default, task summaries are optional. Use the summary macro to define a custom summary


[View source]

Instance Method Detail

def call #

[View source]
def email_name : String #

[View source]
def email_template #

[View source]
def option_parser : OptionParser #

def option_parser=(option_parser : OptionParser) #

def output : IO #

def output=(output : IO) #

def print_help_or_call(args : Array(String)) #

[View source]
def set_opt_for_email_name(args : Array(String)) #

[View source]