Command/create project#13
Merged
dmccoystephenson merged 12 commits intofeat/basic-commandsfrom Jul 15, 2025
Merged
Conversation
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.
src/main/java/com/preponderous/parpt/command/CreateProjectCommand.java
Outdated
Show resolved
Hide resolved
src/test/java/com/preponderous/parpt/command/CreateProjectCommandTest.java
Show resolved
Hide resolved
…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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.