def build_commands(strategy_name, type, action_name)
      action = Arsenal.actions[action_name]

      if action
        options = action.options

        case type
        when :prerequisite
          commands = action.prerequisite_call config 
          Trooper.logger.action "Prerequisite: #{action.description}"
        else
          commands = action.call config
          Trooper.logger.action action.description
        end
        
        [commands, options]
      else
        raise MissingActionError, "Cant find action: #{action_name}"
      end
    end
def build_commands(strategy_name, type, action_name)
      action = Arsenal.actions[action_name]

      if action
        options = action.options

        case type
        when :prerequisite
          commands = action.prerequisite_call config 
          Trooper.logger.action "Prerequisite: #{action.description}"
        else
          commands = action.call config
          Trooper.logger.action action.description
        end
        
        [commands, options]
      else
        raise MissingActionError, "Cant find action: #{action_name}"
      end
    end
build the commands to be sent to the host object