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::Errorfrom 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
kaslandkabinaries.