pub async fn cmd(args: ReportArgs) -> Result<()>Expand description
Main entry point for the report command.
Acts as a dispatcher based on the provided arguments, determining the target date and delegating to the appropriate handler for daily, monthly, display, or send actions.
§Arguments
args- Parsed command-line arguments specifying report options
§Returns
Returns Ok(()) on successful report generation or processing,
or an error if data retrieval or submission fails.
# Display today's report
kasl report
# Submit today's report to API
kasl report --send
# Generate yesterday's report
kasl report --last
# Submit monthly summary
kasl report --month