Skip to content

CLI: presets subcommand to list available presets #4

Description

@frostyhand

axiorank-gateway presets should print the preset table so nobody has to open the source to see what is available: name, base URL, and whether it needs an API key (the local servers do not).

Acceptance:

  • New src/commands/presets.ts reading PRESETS + isLocalBaseUrl from src/router/upstream.ts
  • Wired into src/cli.ts (command + HELP text)
  • One test asserting the output contains every preset name
  • No new dependencies (plain console output, aligned columns are enough)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions