class Matrix::Architect::Commands::Job

Overview

A job to be executed.

Defined in:

commands.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(parser : OptionParser) #

[View source]

Instance Method Detail

def call : Nil #

Calls the job.


[View source]
def empty? : Bool #

[View source]
def exec(&block) #

Registers the block to be executed on job call.


[View source]
def help #

Registers the help to be shown.


[View source]
def help_msg : String | Nil #

[View source]