class
   Barista::Behaviors::Software::Commands::Template
    
  - Barista::Behaviors::Software::Commands::Template
 - Barista::Behaviors::Software::Commands::Base
 - Reference
 - Object
 
Defined in:
barista/behaviors/software/commands/template.crConstructors
Instance Method Summary
- #config : Crinja::Config
 - #crinja
 - 
        #description : String
        
          
A unique string representing this command
 - #dest : String
 - 
        #execute
        
          
executes the command
 - #mode : File::Permissions
 - #src : String
 - #string : Bool
 - #vars : Hash(String, Crinja::Value) | Hash(String, String)
 
Instance methods inherited from class Barista::Behaviors::Software::Commands::Base
  
  
    
      description : String
    description, 
    
  
    
      execute
    execute
    
  
      
      
      
    
      
  Instance methods inherited from module Barista::Behaviors::Software::Emittable
  
  
    
      collect_error(arr : Array(String))
    collect_error, 
    
  
    
      collect_output(arr : Array(String))
    collect_output, 
    
  
    
      forward_error(&block : String -> )
    forward_error, 
    
  
    
      forward_output(&block : String -> )
    forward_output, 
    
  
    
      on_erroron_error(&block : String -> Nil) on_error, on_output
on_output(&block : String -> Nil) on_output
Constructor Detail
        
        def self.new(*, dest : String, src : String, mode : File::Permissions, vars : Hash(String, String) | Hash(String, Crinja::Value), string : Bool = false)
        #
      
      
      Instance Method Detail
        
        def description : String
        #
      
      
        
              Description copied from class Barista::Behaviors::Software::Commands::Base
            
          
          A unique string representing this command
used to calculate the shasum for the builder
        
        def execute
        #
      
      
        
              Description copied from class Barista::Behaviors::Software::Commands::Base
            
          
          executes the command
takes the name of the task, a BuildMeta for logging, and an optional file handle for logging.