Skip to content

Command/create project#13

Merged
dmccoystephenson merged 12 commits intofeat/basic-commandsfrom
command/create-project
Jul 15, 2025
Merged

Command/create project#13
dmccoystephenson merged 12 commits intofeat/basic-commandsfrom
command/create-project

Conversation

@dmccoystephenson
Copy link
Member

No description provided.

Add a test class `CreateProjectCommandTest` to verify project creation functionality. Include setup and a test to assert successful project creation.
Add @ShellMethod to expose the create command, enabling project creation via the interactive shell.
@dmccoystephenson dmccoystephenson marked this pull request as draft July 13, 2025 23:22
@dmccoystephenson dmccoystephenson marked this pull request as ready for review July 14, 2025 01:46
@dmccoystephenson dmccoystephenson changed the base branch from command/list-projects to main July 14, 2025 01:46
@dmccoystephenson dmccoystephenson changed the base branch from main to feat/basic-commands July 14, 2025 01:46
Copy link
Member Author

@dmccoystephenson dmccoystephenson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Self review

…Command

Introduce support for interactive input when parameters are missing. Validate numeric inputs to ensure all scores are between 1 and 5. Update unit tests to cover interactive scenarios and validation cases. Add ConsoleInputProvider interface for input handling.
Replace generic exception with `NameTakenException` in `ProjectRepository` to improve error handling for duplicate project names. Update `CreateProjectCommand` and `ProjectService` to catch and handle the new exception. Adjust tests to reflect the changes.
Replace inline strings for input prompts with static final constants to improve maintainability and consistency. Update related tests accordingly.
Adjust prompt messages to provide clearer context and improve user understanding of the scoring criteria.
Shorten and standardize option flags for `ease` and `effort` parameters to improve CLI usability.
Align descriptions for `confidence`, `ease`, and `reach` options with scoring criteria for improved clarity.
Integrate ICE and RICE score calculations into `CreateProjectCommand` using the new `ScoreCalculator` component. Update command output to display calculated scores. Extend `ProjectService` to return project details and adjust tests to verify score outputs.
Integrate ICE and RICE score calculations into `ListProjectsCommand` using the `ScoreCalculator` component. Update command output to include calculated scores. Adjust tests to validate score outputs.
@dmccoystephenson dmccoystephenson merged commit 0c39982 into feat/basic-commands Jul 15, 2025
@dmccoystephenson dmccoystephenson deleted the command/create-project branch July 24, 2025 11:47
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