balena-cli
Version:
The official balena Command Line Interface
24 lines (23 loc) • 993 B
TypeScript
import { Command } from '@oclif/core';
import type { Interfaces } from '@oclif/core';
import type * as SDK from 'balena-sdk';
type FlagsDef = Interfaces.InferredFlags<typeof EnvListCmd.flags>;
interface EnvironmentVariableInfo extends SDK.EnvironmentVariableBase {
fleet?: string | null;
deviceUUID?: string;
serviceName?: string;
}
export default class EnvListCmd extends Command {
static enableJsonFlag: boolean;
static description: string;
static examples: string[];
static flags: {
fleet: Interfaces.OptionFlag<string | undefined, Interfaces.CustomOptions>;
config: Interfaces.BooleanFlag<boolean>;
device: Interfaces.OptionFlag<string | undefined, Interfaces.CustomOptions>;
service: Interfaces.OptionFlag<string | undefined, Interfaces.CustomOptions>;
};
run(): Promise<string | undefined>;
protected printVariables(varArray: EnvironmentVariableInfo[], options: FlagsDef): Promise<string | undefined>;
}
export {};