class Gen::Migration
- Gen::Migration
- LuckyTask::Task
- Reference
- Object
Included Modules
- Habitat::SettingsHelpers
- Habitat::TempConfig
Defined in:
avram/tasks/gen/migration.crConstant Summary
-
HABITAT_SETTINGS =
[{decl: io : IO = STDOUT, example: nil, validation: nil}] of Nil
-
PARSER_OPTS =
[:migration_name] of Symbol
Class Method Summary
- .configure(&)
- .settings
- .silence_output(&)
-
.task_help_message : String
The help text to be displayed when a help flag is passed in (e.g.
-
.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 -
.task_summary : String
By default, task summaries are optional.
Instance Method Summary
- #call
- #migration_name : String
- #option_parser : OptionParser
- #option_parser=(option_parser : OptionParser)
- #output : IO
- #output=(output : IO)
- #print_help_or_call(args : Array(String))
- #set_opt_for_migration_name(args : Array(String))
- #settings
Instance methods inherited from class Object
blank_for_validates_required? : Bool
blank_for_validates_required?
Class Method Detail
The help text to be displayed when a help flag
is passed in (e.g. -h, --help)
Use the help_message
The name of your task as derived by the class name
Use the .task_name
macro to define a custom task name
By default, task summaries are optional.
Use the summary
macro to define a custom summary