@cli.command(short_help="<STR_LIT>")<EOL>@click.argument('<STR_LIT:description>', nargs=-<NUM_LIT:1>)<EOL>@click.option('<STR_LIT>', '<STR_LIT>', '<STR_LIT:f>', type=click.Path(dir_okay=False),<EOL>help="<STR_LIT>")<EOL>@click.pass_context<EOL>def stop(ctx, description, f):
description = '<STR_LIT:U+0020>'.join(description)<EOL>try:<EOL><INDENT>timesheet_collection = get_timesheet_collection_for_context(ctx, f)<EOL>current_timesheet = timesheet_collection.latest()<EOL>current_timesheet.continue_entry(<EOL>datetime.date.today(),<EOL>datetime.datetime.now().time(),<EOL>description<EOL>)<EOL><DEDENT>except ParseError as e:<EOL><INDENT>ctx.obj['<STR_LIT>'].err(e)<EOL><DEDENT>except NoActivityInProgressError as e:<EOL><INDENT>ctx.obj['<STR_LIT>'].err(e)<EOL><DEDENT>except StopInThePastError as e:<EOL><INDENT>ctx.obj['<STR_LIT>'].err(e)<EOL><DEDENT>else:<EOL><INDENT>current_timesheet.save()<EOL><DEDENT>
Use it when you stop working on the current task. You can add a description
to what you've done.