Skip to content

Conversation

iamnamananand996
Copy link
Contributor

@iamnamananand996 iamnamananand996 commented Aug 15, 2025

closes: #8602

Description

This PR adds a new fern list-generators command to the Fern CLI that allows users to easily view all available generators from the Fern Registry. The command provides a table view of generators with their metadata and includes optional filtering by generator type.

Changes Made

  • Added new list-generators command to the main CLI interface
  • Implemented table-formatted output displaying generator ID, name, type, language, version, and Docker image
  • Added optional --type filter with choices: sdk, model, server, other
  • Updated CLI versions.yml with version 0.66.16 changelog entry
pnpm fern:local list-generators

pnpm fern:local list-generators --generator-type sdk

pnpm fern:local list-generators --generator-type model

pnpm fern:local list-generators --generator-type server

iScreen Shoter - Cursor - 250815104611
iScreen Shoter - Cursor - 250815104656
iScreen Shoter - Cursor - 250815104710
iScreen Shoter - Cursor - 250815104631

Testing

  • Manual testing completed - verified command works with all filter options
  • Verified table formatting displays correctly with proper column widths
  • Tested error handling for registry connectivity issues

Copy link

promptless bot commented Aug 15, 2025

📝 Documentation updates detected!

New suggestion: Document new fern list-generators CLI command

@iamnamananand996 iamnamananand996 changed the title feat(cli): Add fern list-generators command to CLI feat(cli): Add fern list-generators command to CLI Aug 16, 2025
Copy link

This PR is stale because it has been open 25 days with no activity. Remove stale label or comment or this will be closed in 5 days.

@github-actions github-actions bot added the Stale This PR hasn't has any commits or comments in 25 days or more. label Sep 14, 2025

function addListGeneratorsCommand(cli: Argv<GlobalCliOptions>, cliContext: CliContext) {
cli.command(
"list-generators",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we make this fern generator list ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @fern-support, Yes we can have it like fern generator list.

seems like this PR is very much behind from the origin main branch, I will create a new fresh PR with the requested changes.

@github-actions github-actions bot removed the Stale This PR hasn't has any commits or comments in 25 days or more. label Sep 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Fern CLI: Add fern list-generators command to CLI
2 participants