feat: add --ide-json flag for IDE integration#32
Merged
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #32 +/- ##
==========================================
+ Coverage 91.15% 92.11% +0.96%
==========================================
Files 45 47 +2
Lines 3820 3373 -447
==========================================
- Hits 3482 3107 -375
+ Misses 338 266 -72 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Add --ide <format> CLI flag that exports all function metadata for IDE integration. Supports JSON, YAML, and TOML output formats. Changes: - Add --ide flag with json/yaml/toml format options - Migrate all functions to trait-based pattern with embedded metadata - Add Function and ContextFunction traits for consistent registration - Add METADATA constants to FilterFunction and IsFunction traits - Implement get_all_metadata() to collect 189 functions across 21 categories - Add comprehensive tests improving coverage from 85% to 91% - Update README with IDE Integration documentation - Update CLAUDE.md with commit message guidelines
a9daaf6 to
17f6a79
Compare
- Add universal installer as recommended method (curl | sh) - Add Homebrew tap instructions for macOS - Add APT repository instructions for Debian/Ubuntu - Add RPM repository instructions for Fedora/RHEL/CentOS - Update Quick Start to use universal installer
Fixes Windows CI failures by using assert_cmd which properly builds the binary before running tests, instead of manually looking for it.
On Windows, resolving empty hostname may succeed (returning localhost), while on Unix it typically fails. Accept both behaviors as valid.
github-actions Bot
pushed a commit
that referenced
this pull request
Jan 4, 2026
## 1.4.0 (2026-01-04) * Merge pull request #32 from bordeux/feature/ide-support ([f5025fb](f5025fb)), closes [#32](#32) * fix: add Windows .exe suffix support in CLI tests ([4787e1d](4787e1d)) * fix: make DNS empty hostname test platform-tolerant ([7c5a7eb](7c5a7eb)) * fix: use assert_cmd for CLI integration tests ([e64e312](e64e312)) * docs: add package manager installation instructions ([115ec12](115ec12)) * feat: add --ide flag for IDE metadata export ([17f6a79](17f6a79))
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.
Add --ide-json CLI flag that outputs all function metadata as JSON, enabling IDE integrations to provide autocomplete, documentation, and syntax validation.
Key changes:
The metadata includes function name, category, description, arguments (with types, defaults, descriptions), return type, examples, and syntax variants (function/filter/is_test).
🤖 Generated with Claude Code