Commands
kasl provides a comprehensive set of commands for work activity tracking, task management, and reporting.
Command Overview
Section titled “Command Overview”Core Commands
Section titled “Core Commands”init- Initialize application configurationwatch- Start activity monitoringtask- Manage tasks and work itemsreport- Generate and submit reportssum- View monthly summaries
Data Management
Section titled “Data Management”Organization
Section titled “Organization”System Integration
Section titled “System Integration”autostart- Configure automatic startupupdate- Update application to latest versioncompletions- Print a shell completion script
Quick Reference
Section titled “Quick Reference”Daily Workflow
Section titled “Daily Workflow”# Start monitoring (if not already running)kasl watch
# Create today's taskskasl task add --name "Code review" --completeness 0kasl task add --name "Team meeting" --completeness 0
# Update task progresskasl task edit 1
# View today's reportkasl report
# Submit report (if configured)kasl report --sendTask Management
Section titled “Task Management”# Create taskskasl task add --name "Task name" --comment "Description" --completeness 0
# List taskskasl task listkasl task list --all
# Edit taskskasl task edit 1kasl task edit
# Remove taskskasl task remove 1 2 3kasl task remove --todayRecording Missed Absences
Section titled “Recording Missed Absences”# Record an hour-long lunch the monitor missedkasl pauses add --start 13:00 --minutes 60 --reason "lunch"
# Record a short absence that must survive the duration filterkasl pauses add --start 16:20 --minutes 10 --keep
# Review the daykasl pauses listData Export
Section titled “Data Export”# Export today's datakasl export --format csv
# Export all datakasl export all --format json
# Export to specific filekasl export --output my_report.csvTag Management
Section titled “Tag Management”# Create tagskasl tag add "urgent" --color "red"kasl tag add "backend" --color "blue"
# List tagskasl tag list
# Assign tags to taskskasl task add --name "Fix bug" --tags "urgent,backend"
# Filter by tagskasl task list --tag "urgent"Templates
Section titled “Templates”# Create templatekasl template add --name "daily-standup"
# Use templatekasl task add --from-templatekasl task add --template "daily-standup"Command Categories
Section titled “Command Categories”Activity Monitoring
Section titled “Activity Monitoring”Commands for tracking work sessions and activity:
watch- Core monitoring functionalitypauses- View pauses and record ones the monitor missed
Task Management
Section titled “Task Management”Commands for organizing and tracking work items:
task- Complete task lifecycle managementtag- Task categorization and organizationtemplate- Reusable task templates
Reporting & Analytics
Section titled “Reporting & Analytics”Commands for generating insights and reports:
report- Daily work reportssum- Monthly summaries and statisticsexport- Data export for external analysis
System Management
Section titled “System Management”Commands for application configuration and maintenance:
init- Initial setup and configurationautostart- System integrationupdate- Application updates
Getting Help
Section titled “Getting Help”Command Help
Section titled “Command Help”Get help for any command:
kasl --helpkasl <command> --helpExamples
Section titled “Examples”View command examples:
# Show all available commandskasl --help
# Show specific command helpkasl task --helpkasl task add --helpkasl report --helpInteractive Mode
Section titled “Interactive Mode”Some commands support interactive mode:
# Interactive task creationkasl task
# Interactive template selectionkasl task add --from-template
# Interactive task editingkasl task editCommand Options
Section titled “Command Options”Global Options
Section titled “Global Options”Most commands support these global options:
--help- Show command help--version- Show version information
Common Options
Section titled “Common Options”Many commands support these common options:
--date- Specify date (YYYY-MM-DD or ‘today’)--output- Specify output file--format- Specify output format
Debug Options
Section titled “Debug Options”Debug options for troubleshooting:
--foreground- Run in foreground mode--debug- Enable debug logging
Best Practices
Section titled “Best Practices”Command Organization
Section titled “Command Organization”- Use templates for frequently created tasks
- Use tags for task categorization
- Regular exports for data backup
- Monitor configuration for optimal detection
Workflow Integration
Section titled “Workflow Integration”- Start monitoring at the beginning of your workday
- Create tasks as you plan your work
- Update progress throughout the day
- Review reports at the end of the day
Data Management
Section titled “Data Management”- Regular backups using export functionality
- Clean up old data periodically
- Validate data using report commands
- Monitor database size and performance