@capgo/cli
Version:
A CLI to upload to capgo servers
18 lines (17 loc) • 1.02 kB
TypeScript
import type { OptionsBase } from '../schemas/base';
import type { AppRow } from '../types/api';
interface AppListOptions extends OptionsBase {
filterByOrgId?: string;
showOrg?: boolean;
showOrgId?: boolean;
outputText?: boolean;
}
export declare const APP_LIST_ORG_FILTER_WARNING = "You have passed \"--filter-by-org-id\". You might have access to more apps. Remove the filter to see all apps";
export declare function getAppListPath(page: number, orgId?: string): string;
export declare function formatAppsCsv(data: AppRow[]): string;
export declare function formatAppListText(data: AppRow[]): string;
export declare function getAppListHeaders(options: AppListOptions): string[];
export declare function getAppListRow(row: AppRow, options: AppListOptions, orgNames: Map<string, string>): string[];
export declare function listAppInternal(options: AppListOptions, silent?: boolean): Promise<AppRow[]>;
export declare function listApp(options: AppListOptions, silent?: boolean): Promise<AppRow[]>;
export {};