feat: Improved tmpo init command to use interactive form + pull request template#12
Merged
Merged
Conversation
The `tmpo init` command now uses an interactive form to prompt for project name, hourly rate, and description, with an option to skip prompts using `--accept-defaults`. Documentation and config template were updated to reflect these changes, improving user experience and clarity.
tmpo init command to use interactive form + pull request templatetmpo init command to use interactive form + pull request template
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.
This pull request introduces an improved workflow for initializing project configuration in
tmpo, focusing on a more user-friendly and interactive setup for.tmporcfiles. The main change is a new interactive form fortmpo init, with optional quick setup via a flag, and corresponding updates to documentation and configuration handling.Interactive and streamlined project configuration:
tmpo initcommand to use an interactive form that prompts for project name (auto-detected by default), hourly rate (optional), and description (optional). Added the--accept-defaultsflag to allow quick setup with all default values and no prompts. [1] [2]internal/config/config.goto include the description field and ensure all fields are present in the generated.tmporcfile. [1] [2] [3]Documentation updates:
README.mdanddocs/configuration.mdto reflect the new interactive and quick setup modes fortmpo init, replacing previous examples that used command-line flags or manual file creation. [1] [2] [3] [4] [5]Project management process:
.github/pull_request_template.mdto standardize PR submissions and ensure contributors follow guidelines.