DalaDev.Tui.Tasks (dala_dev v0.4.0)

Copy Markdown View Source

Mix task definitions for the TUI.

Provides a categorized list of available mix dala.* tasks that the user can browse and run from the TUI.

Summary

Functions

Returns tasks filtered by category.

Returns all task categories with their labels.

Returns the category label.

Returns all available dala_dev Mix tasks, grouped by category.

Types

t()

@type t() :: %DalaDev.Tui.Tasks{
  args: [String.t()],
  category: atom(),
  description: String.t(),
  module: atom(),
  name: String.t()
}

Functions

by_category(category)

@spec by_category(atom()) :: [t()]

Returns tasks filtered by category.

categories()

@spec categories() :: [{atom(), String.t()}]

Returns all task categories with their labels.

category_label(category)

@spec category_label(atom()) :: String.t()

Returns the category label.

list()

@spec list() :: [t()]

Returns all available dala_dev Mix tasks, grouped by category.