Skip to content

feat: Add flb search command to list and search available extensions#7

Merged
roncodes merged 5 commits intomainfrom
feat/search-extensions-command
Feb 28, 2026
Merged

feat: Add flb search command to list and search available extensions#7
roncodes merged 5 commits intomainfrom
feat/search-extensions-command

Conversation

@roncodes
Copy link
Member

Adds a new flb search command (alias: flb list-extensions) that fetches and displays available Fleetbase extensions from the ~registry/v1/extensions endpoint.

Features:

  • Keyword search (name, slug, subtitle, description, tags)
  • Category filter via --category
  • Free-only filter via --free
  • JSON output via --json
  • Simple tab-separated output via --simple
  • Self-hosted support via --host
  • Coloured terminal output using ANSI codes

Files changed: index.js, README.md

roncodes and others added 5 commits February 27, 2026 20:29
- Add `flb search [query]` command with alias `list-extensions`
- Supports keyword filtering by name, slug, subtitle, description, and tags
- Supports category filtering via --category option
- Supports --free flag to show only free extensions
- Supports --json flag for machine-readable output
- Supports --simple flag for tab-separated scripting output
- Supports --host option for self-hosted Fleetbase instances
- Uses ANSI colour codes for clean terminal output (chalk v5 is ESM-only)
- Add extensionsListApi constant pointing to /~registry/v1/extensions
- Add displayExtensionsTable() helper for formatted terminal display
- Document new command in README.md with full examples
@roncodes roncodes merged commit fd8cfb4 into main Feb 28, 2026
6 checks passed
@roncodes roncodes deleted the feat/search-extensions-command branch February 28, 2026 01:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant