@mesh-tech/mesh-cli
Version:
CLI for Mesh platform development utilities
21 lines (20 loc) • 790 B
TypeScript
import { Command } from "commander";
export declare function parseProfileRegion(text: string, header: string): string | undefined;
export declare function awsDefaultProfileSections(): Array<[string, string]>;
export declare function resolveCredentialAxis(options: {
tenant: string;
env: string;
stage?: string;
appTenant?: string;
appStage?: string;
}): {
appTenant: string;
appStage: string;
};
export declare function externalSecretId(appTenant: string, appStage: string, name: string, key?: string): string;
export declare function resolveExternalPorts(creds: Record<string, string | number>, portOverride?: string): {
host: string;
remotePort: number;
localPort: number;
};
export declare function registerTunnelCommands(program: Command): void;