-
Notifications
You must be signed in to change notification settings - Fork 2
dev #21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
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
Member
maxlandon
commented
Jul 30, 2025
- Restructure most of the code and tighten the API
- Various things:
- Repairing tests in parser package
- Refactor and refine positional arguments code
- Multiple fixes to flag completion following refactoring + update carapace repository import path
- Remove useless function in API
- Format
- Revert to old type completer detection function
- Fix most tests in the gen package
- Fix tests in gen package
- Regenerate values
- Fix generated values and some imports
- Fix most tests in parser package.
- Fix function missing in tests
- Code cleanups in gen package
- Code cleanup with new context for scanning
- Cleanup gen/completions package
- Code cleanup in parser package. Still problems to fix
- Code cleanup in other internal packages
- Fix validation flags/args
- Refactor parser code and fix its tests.
- Other fixes
- Small refactors
- Fix positional tests and related code.
- Refactors
- Implement base Kong tags, negatable flags and custom separators + tests
- Implement XOR flags, passthrough args, but problem with tests.
- Implement default commands
- Implement Kong-style ENV support
- Implement variable expansion in tags and with options
- Kong ignore
- Add support/compat for other Kong tags
- Refactors and comments + implement xorprefix
- Refactoring
- Implement kong-style positional support, and fix all tests
- Cleanup and refactor gen/flags package
- First steps of refactoring/cleanup.
- First steps of a FieldContext implentation
- Add hint completion for positionals + refactors + fixes
- Start refactoring completions into main scan code
- Refactor completions package into main parser code
- Custom list separators in completions
- Cleanup errors
- Better checks for unexported fields
- Support for individual persistent flags
- Add validations for scanned flag types
- Cleanup / refactor some tests
- Fmt
- Add support for binding/tagging custom completers
- Fix validation for user-defined types.
- Add tests that had disappeared
- Update README and remove old Go doc
- Update README
- Remove vendor directory. - Refactor validations both in internal and on the public API. - Compiles, but does not yet validate yet.
carapace repository import path
|
|
||
| // === Primary Entry Points === | ||
|
|
||
| // Generate parses a struct and creates a new, fully configured *cobra.Command. |
Check warning
Code scanning / Revive (reported by Codacy)
comment on exported function Parse should be of the form "Parse ..." Warning
comment on exported function Parse should be of the form "Parse ..."
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.