class Sam::Task
- Sam::Task
- Reference
- Object
Defined in:
sam/task.crConstructors
Instance Method Summary
-
#call(args : Args)
Launch current task.
- #description
- #execute(name, hash : Args::AllowedHash, arr : Array(Args::AllowedTypes))
-
#execute(name, args : Args)
Invoke the task even if it has been invoked.
- #execute(name, hash : Args::AllowedHash)
- #execute(name, *args)
- #find!(name)
- #invoke(name, hash : Args::AllowedHash, arr : Array(Args::AllowedTypes))
-
#invoke(name, args : Args)
Invoke the task if it is needed.
- #invoke(name, hash : Args::AllowedHash)
- #invoke(name, *args)
- #invoked? : Bool
- #name : String
- #path
- #reenable
Constructor Detail
def self.new(block : -> _ | Sam::Task -> _ | Sam::Task, Sam::Args -> _, deps : Array(String), parent : Sam::Namespace, name : String, description : Nil | String = nil)
#