balena-cli
Version:
The official balena Command Line Interface
23 lines (22 loc) • 782 B
TypeScript
import { Command } from '@oclif/core';
export default class DeviceTunnelCmd extends Command {
static aliases: string[];
static deprecateAliases: boolean;
static description: string;
static examples: string[];
static args: {
deviceOrFleet: import("@oclif/core/lib/interfaces").Arg<string, Record<string, unknown>>;
};
static flags: {
port: import("@oclif/core/lib/interfaces").OptionFlag<string[] | undefined, import("@oclif/core/lib/interfaces").CustomOptions>;
};
static primary: boolean;
static authenticated: boolean;
run(): Promise<void>;
parsePortMapping(portMapping: string): {
remotePort: number;
localAddress: string;
localPort: number;
};
isValidPort(port: number): boolean;
}