Skip to main content

Module task

Module task 

Source
Expand description

Task management and manipulation functionality for productivity tracking.

Provides comprehensive task management capabilities including task creation, modification, filtering, and formatting for organizing work items.

§Features

  • Task Structure: Identification, description, progress tracking, categorization
  • Filtering System: Date-based, completion status, ID-based, tag-based filtering
  • Formatting: Console table rendering, export formatting, template support
  • Integration: Jira issues, GitLab commits, manual entry, template instantiation
  • Database Integration: CRUD operations, transaction safety, relationship management

§Usage

use kasl::libs::task::Task;

let task = Task::new(
    "Implement user authentication",
    "Add OAuth2 integration with Google and GitHub",
    Some(25)
);

Structs§

Task
Represents a single task or work item in the productivity tracking system.

Enums§

TaskFilter
Enumeration of available task filtering criteria for database queries.

Traits§

FormatTasks
Trait providing formatting and manipulation operations for task collections.

Functions§

collapse_whitespace
Replaces newlines and other whitespace runs with single spaces and trims.
is_ignored_name
Returns true when name matches an ignore pattern exactly or by prefix (after normalization). Used for task discovery filtering.
normalize_task_name
Normalizes a task/commit name for near-duplicate and ignore-list comparison.