Repository navigation
feat: enhance ux and resolve defects - #8
Merged
Merged
Conversation
Core Implementation Files Added/Modified:
New Files:
- .adder.yaml - Project configuration with binary_name: adder
- docs/commands/adder.md - Root command definition
- config.go - Configuration loading and validation
- cmd/adder/generated/adder_generated.go - Generated root command
Modified Core Files:
- types.go - Added BinaryName field to Config struct
- parser.go - Added root command detection using binary_name.md pattern
- cmd/adder/handlers.go - Updated to use new binary_name parameter and validation
- docs/commands/generate.md - Added --binary-name/-b flag
Documentation Updates:
- README.md - Added configuration section, updated quick start steps
- CLAUDE.md - Added binary_name configuration documentation
Key Changes:
1. Required Configuration: binary_name is now required in .adder.yaml or via --binary-name flag
2. Root Command Detection: Parser looks for {binary_name}.md in input directory as the CLI root
command
3. CLI Flag: Added --binary-name/-b flag to generate command
4. Validation: Config loading and generate command validate that binary_name is provided
5. Updated Examples: Changed examples from docs/man to docs/commands for consistency
Statistics:
- 16 files modified
- +1,308 lines added, -511 lines removed
- Major functionality: Root command detection, configuration system, validation
The implementation successfully addresses the original issue where adder.md wasn't being
recognized as the root command by making binary name configuration explicit and required.
jrschumacher
added a commit
that referenced
this pull request
Jun 25, 2025
🤖 I have created a release *beep* *boop* --- ## [0.2.0](v0.1.1...v0.2.0) (2025-06-25) ### Features * enhance ux and resolve defects ([#8](#8)) ([c5ffdd9](c5ffdd9)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
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.
Core Implementation Files Added/Modified:
New Files:
Modified Core Files:
Documentation Updates:
Key Changes:
command
Statistics:
The implementation successfully addresses the original issue where adder.md wasn't being
recognized as the root command by making binary name configuration explicit and required.