mirror of
https://github.com/tiennm99/ccs.git
synced 2026-10-12 18:15:48 +00:00
docs(cliproxy): clarify catalog --json output format in JSDoc
Use TypeScript-style index signature notation instead of ambiguous placeholder name in format description. Built [OnSteroids](https://onsteroids.ai)
This commit is contained in:
1 parent
48634549f8
commit
f090c32c2f
1 file changed
+1
-1
@@ -177,7 +177,7 @@ export async function handleCatalogRefresh(verbose: boolean): Promise<void> {
|
|||||||
/**
|
/**
|
||||||
* Output catalog as JSON for programmatic consumption.
|
* Output catalog as JSON for programmatic consumption.
|
||||||
* Used by OnSteroids and other tools to get available models per provider.
|
* Used by OnSteroids and other tools to get available models per provider.
|
||||||
* Format: { provider: [{ id, name }], ... }
|
* Format: { [providerName: string]: Array<{ id: string, name: string }> }
|
||||||
*/
|
*/
|
||||||
export function handleCatalogJson(): void {
|
export function handleCatalogJson(): void {
|
||||||
const catalogs = getAllResolvedCatalogs();
|
const catalogs = getAllResolvedCatalogs();
|
||||||
|
|||||||
Reference in new issue
Block a user