abstract class BaseTask
Direct Known Subclasses
- Db::Create
- Db::Drop
- Db::Migrate
- Db::Migrate::One
- Db::Migrations::Status
- Db::Redo
- Db::Reset
- Db::Rollback
- Db::RollbackAll
- Db::RollbackTo
- Db::Schema::Dump
- Db::Schema::Restore
- Db::Setup
- Db::VerifyConnection
Defined in:
avram/tasks/db/base_task.crConstant Summary
-
PARSER_OPTS =
[] of Symbol
Class Method Summary
-
.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
- #option_parser : OptionParser
- #option_parser=(option_parser : OptionParser)
- #output : IO
- #output=(output : IO)
- #print_help_or_call(args : Array(String))
- #run_task
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