Skip to content

feat: tmpo manual for manual time entry creation#7

Merged
DylanDevelops merged 1 commit into
mainfrom
ravel/manual-time-entry-creation
Dec 15, 2025
Merged

feat: tmpo manual for manual time entry creation#7
DylanDevelops merged 1 commit into
mainfrom
ravel/manual-time-entry-creation

Conversation

@DylanDevelops
Copy link
Copy Markdown
Owner

This pull request introduces a new interactive command for creating manual time entries, enhances the storage layer to support these entries, and adds a new dependency for interactive prompts. The main focus is on enabling users to specify both start and end times for time entries via a guided command-line interface.

New Manual Time Entry Command:

  • Added a new manual subcommand in cmd/manual.go that interactively prompts the user for project name, start/end dates and times, and an optional description. The command validates inputs, parses times, and creates a completed entry in the database.

Database Enhancements:

  • Added a new CreateManualEntry method to the Database struct in internal/storage/db.go to insert a fully specified time entry with explicit start and end times, supporting the new manual entry workflow.

Dependency Updates:

  • Introduced the github.com/manifoldco/promptui dependency in go.mod to provide interactive CLI prompts for the new command.

These changes collectively allow users to create historical or completed time entries with precise timing information through an interactive experience.

Introduces a new 'manual' command to create completed time entries by specifying start and end times via an interactive CLI menu. Adds dependency on promptui for user prompts. Implements CreateManualEntry in the database layer to support inserting historical entries with explicit start and end times.
@DylanDevelops DylanDevelops merged commit 246e388 into main Dec 15, 2025
3 checks passed
@DylanDevelops DylanDevelops deleted the ravel/manual-time-entry-creation branch December 15, 2025 06:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant