<commit_before>function __task_get_tasks --description "Prints all available tasks with their description"
  set -l output (task -l 2>&1 < /dev/null | sed '1d' | awk '{ $1=""; print $0 }' | sed 's/:\ /\t/g' | string trim | string split0)
  if test $output
      echo $output
  end
end

complete -c task -d 'Runs the specified task(s). Falls back to the "default" task if no task name was specified, or lists all tasks if an unknown task name was 
specified.' -xa "(__task_get_tasks)"


complete -c task -s c -l color     -d 'colored output (default true)'
complete -c task -s d -l dir       -d 'sets directory of execution'
complete -c task      -l dry       -d 'compiles and prints tasks in the order that they would be run, without executing them'
complete -c task -s f -l force     -d 'forces execution even when the task is up-to-date'
complete -c task -s h -l help      -d 'shows Task usage'
complete -c task -s i -l init      -d 'creates a new Taskfile.yml in the current folder'
complete -c task -s l -l list      -d 'lists tasks with description of current Taskfile'
complete -c task -s o -l output    -d 'sets output style: [interleaved|group|prefixed]' -xa "interleaved group prefixed"
complete -c task -s p -l parallel  -d 'executes tasks provided on command line in parallel'
complete -c task -s s -l silent    -d 'disables echoing'
complete -c task      -l status    -d 'exits with non-zero exit code if any of the given tasks is not up-to-date'
complete -c task      -l summary   -d 'show summary about a task'<commit_msg>Enable fish tab completion for tasks without description<commit_after>function __task_get_tasks --description "Prints all available tasks with their description"
	set -l output (task --list-all | sed '1d; s/\* \(.*\):\s*\(.*\)/\1\t\2/' | string split0)
  if test $output
      echo $output
  end
end

complete -c task -d 'Runs the specified task(s). Falls back to the "default" task if no task name was specified, or lists all tasks if an unknown task name was
specified.' -xa "(__task_get_tasks)"


complete -c task -s c -l color     -d 'colored output (default true)'
complete -c task -s d -l dir       -d 'sets directory of execution'
complete -c task      -l dry       -d 'compiles and prints tasks in the order that they would be run, without executing them'
complete -c task -s f -l force     -d 'forces execution even when the task is up-to-date'
complete -c task -s h -l help      -d 'shows Task usage'
complete -c task -s i -l init      -d 'creates a new Taskfile.yml in the current folder'
complete -c task -s l -l list      -d 'lists tasks with description of current Taskfile'
complete -c task -s o -l output    -d 'sets output style: [interleaved|group|prefixed]' -xa "interleaved group prefixed"
complete -c task -s p -l parallel  -d 'executes tasks provided on command line in parallel'
complete -c task -s s -l silent    -d 'disables echoing'
complete -c task      -l status    -d 'exits with non-zero exit code if any of the given tasks is not up-to-date'
complete -c task      -l summary   -d 'show summary about a task'
{'fraction_non_alphanumeric': 0.09433962264150944, 'fraction_numerical': 0.0032530904359141183, 'mean_word_length': 2.8533834586466167, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4790835', 'n_tokens_mistral': 940, 'n_tokens_neox': 924, 'n_words': 489}