class

Gen::Migration

Inherits Habitat::SettingsHelpers < Habitat::TempConfig < LuckyTask::Task < Reference < Object

Constants

HABITAT_SETTINGS = [{decl: io : IO = STDOUT, example: nil, validation: nil}] of Nil
PARSER_OPTS = [:migration_file_name] of Symbol

Class methods

configure
Source
settings
Source
silence_output
Source
task_help_message

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

Source
task_name

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

Source
task_summary

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

Source

Instance methods

call
Source
migration_file_name
Source
option_parser
option_parser=(option_parser : OptionParser)
output
output=(output : IO)
set_opt_for_migration_file_name(args : Array(String))
Source
settings
Source

Nested types