def all active: true
      all = []
      f = Helpers.pending_or_waiting(active)
      Execute.task_popen3(*override_a, f, "export") do |i, o, e, t|
        all = MultiJson.load(o.read).map do |x|
          Rtasklib::Models::TaskModel.new(x)
        end
      end
      return all
    end
def all active: true
      all = []
      f = Helpers.pending_or_waiting(active)
      Execute.task_popen3(*override_a, f, "export") do |i, o, e, t|
        all = MultiJson.load(o.read).map do |x|
          Rtasklib::Models::TaskModel.new(x)
        end
      end
      return all
    end
Retrieves the current task list from the TaskWarrior database. Defaults
 to just show active (waiting & pending) tasks, which is usually what is
 exposed to the end user through the default reports. To see everything
 including completed, deleted, and parent recurring tasks, set
 `active: false`. For more granular control see Controller#some.

 @example
   tw.all.count #=> 200
   tw.all(active: true) #=> 200
   tw.all(active: false) #=> 578

 @param active [Boolean] return only pending & waiting tasks
 @return [Array<Models::TaskModel>]
 @api public