Skip to main content

Crate kasl

Crate kasl 

Source
Expand description

§Kasl - Key Activity Synchronization and Logging

A command-line utility for tracking work activities, managing tasks, and generating productivity reports.

§Features

  • Activity Monitoring: Automatic detection of work sessions and breaks
  • Productivity Analysis: Comprehensive calculation engine with break recommendations
  • Task Management: Create, update, and track task completion
  • Report Generation: Daily and monthly productivity reports with advanced metrics
  • External Integrations: Sync with GitLab commits and Jira issues
  • Data Export: Export data to CSV, JSON, and Excel formats
  • Template System: Reusable task templates
  • Tag System: Organize tasks with custom tags

§Usage

use kasl::commands::Cli;

#[tokio::main]
async fn main() -> anyhow::Result<()> {
    Cli::menu().await
}

Modules§

api
API client modules for external service integrations.
commands
Command-line interface commands for kasl application.
db
Database layer for the kasl application.
libs
Core library modules for the kasl application.

Macros§

msg_bail_anyhow
Early return with an error created from a message.
msg_debug
Debug-only message display with 🔍 prefix.
msg_error
Prints an error message with ❌ prefix and automatic routing.
msg_error_anyhow
Creates an anyhow::Error from a message with ❌ prefix.
msg_info
Prints an informational message with â„šī¸ prefix and automatic routing.
msg_print
Prints a general message with automatic debug mode routing.
msg_success
Prints a success message with ✅ prefix and automatic routing.
msg_warning
Prints a warning message with âš ī¸ prefix and automatic routing.

Functions§

run
Runs the CLI: the shared entry point behind both the kasl and ka binaries.