UNPKG

balena-cli

Version:

The official balena Command Line Interface

120 lines (119 loc) • 5.36 kB
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: { exclusive: string[]; name: string; char?: Interfaces.AlphabetLowercase | Interfaces.AlphabetUppercase; summary?: string; description?: string; helpLabel?: string; helpGroup?: string; env?: string; hidden?: boolean; required?: boolean; dependsOn?: string[]; combinable?: string[]; exactlyOne?: string[]; relationships?: import("@oclif/core/lib/interfaces/parser").Relationship[]; deprecated?: true | Interfaces.Deprecation; aliases?: string[]; charAliases?: (Interfaces.AlphabetLowercase | Interfaces.AlphabetUppercase)[]; deprecateAliases?: boolean; noCacheDefault?: boolean; atLeastOne?: string[]; type: "option"; helpValue?: string | string[]; options?: readonly string[]; multiple?: boolean; multipleNonGreedy?: boolean; delimiter?: ","; allowStdin?: boolean | "only"; parse: import("@oclif/core/lib/interfaces/parser").FlagParser<string | undefined, string, Interfaces.CustomOptions>; defaultHelp?: import("@oclif/core/lib/interfaces/parser").FlagDefaultHelp<string | undefined, Interfaces.CustomOptions>; input: string[]; default?: import("@oclif/core/lib/interfaces/parser").FlagDefault<string | undefined, Interfaces.CustomOptions>; }; config: Interfaces.BooleanFlag<boolean>; device: { exclusive: string[]; name: string; char?: Interfaces.AlphabetLowercase | Interfaces.AlphabetUppercase; summary?: string; description?: string; helpLabel?: string; helpGroup?: string; env?: string; hidden?: boolean; required?: boolean; dependsOn?: string[]; combinable?: string[]; exactlyOne?: string[]; relationships?: import("@oclif/core/lib/interfaces/parser").Relationship[]; deprecated?: true | Interfaces.Deprecation; aliases?: string[]; charAliases?: (Interfaces.AlphabetLowercase | Interfaces.AlphabetUppercase)[]; deprecateAliases?: boolean; noCacheDefault?: boolean; atLeastOne?: string[]; type: "option"; helpValue?: string | string[]; options?: readonly string[]; multiple?: boolean; multipleNonGreedy?: boolean; delimiter?: ","; allowStdin?: boolean | "only"; parse: import("@oclif/core/lib/interfaces/parser").FlagParser<string | undefined, string, Interfaces.CustomOptions>; defaultHelp?: import("@oclif/core/lib/interfaces/parser").FlagDefaultHelp<string | undefined, Interfaces.CustomOptions>; input: string[]; default?: import("@oclif/core/lib/interfaces/parser").FlagDefault<string | undefined, Interfaces.CustomOptions>; }; service: { exclusive: string[]; name: string; char?: Interfaces.AlphabetLowercase | Interfaces.AlphabetUppercase; summary?: string; description?: string; helpLabel?: string; helpGroup?: string; env?: string; hidden?: boolean; required?: boolean; dependsOn?: string[]; combinable?: string[]; exactlyOne?: string[]; relationships?: import("@oclif/core/lib/interfaces/parser").Relationship[]; deprecated?: true | Interfaces.Deprecation; aliases?: string[]; charAliases?: (Interfaces.AlphabetLowercase | Interfaces.AlphabetUppercase)[]; deprecateAliases?: boolean; noCacheDefault?: boolean; atLeastOne?: string[]; type: "option"; helpValue?: string | string[]; options?: readonly string[]; multiple?: boolean; multipleNonGreedy?: boolean; delimiter?: ","; allowStdin?: boolean | "only"; parse: import("@oclif/core/lib/interfaces/parser").FlagParser<string | undefined, string, Interfaces.CustomOptions>; defaultHelp?: import("@oclif/core/lib/interfaces/parser").FlagDefaultHelp<string | undefined, Interfaces.CustomOptions>; input: string[]; default?: import("@oclif/core/lib/interfaces/parser").FlagDefault<string | undefined, Interfaces.CustomOptions>; }; }; run(): Promise<string | undefined>; protected printVariables(varArray: EnvironmentVariableInfo[], options: FlagsDef): Promise<string | undefined>; } export {};