UNPKG

balena-cli

Version:

The official balena Command Line Interface

116 lines (115 loc) 5.2 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 aliases: string[]; static deprecateAliases: 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[]; 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; 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[]; 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; 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>; }; json: Interfaces.BooleanFlag<boolean>; 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[]; 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; 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<void>; protected printVariables(varArray: EnvironmentVariableInfo[], options: FlagsDef): Promise<void>; } export {};