UNPKG

@topgroup/diginext

Version:

A BUILD SERVER & CLI to deploy apps to any Kubernetes clusters.

32 lines 1.15 kB
import type { IUser } from "../../entities/User"; import type InputOptions from "../../interfaces/InputOptions"; interface CliLoginOptions { /** * URL of the build server, specify with the second action of CLI */ secondAction?: string; /** * URL of the build server, specify with `--url` flag */ url?: string; /** * The access token to authenticate, specify with `--token` or `--key` flag */ accessToken?: string; /** * The API_ACCESS_TOKEN to authenticate, specify with `--api-token` or `--api-key` flag */ apiToken?: string; isDebugging?: boolean; } export declare const showProfile: (options: InputOptions) => Promise<any[]>; export declare const cliLogin: (options: CliLoginOptions) => Promise<IUser>; export declare const cliLogout: () => Promise<any[]>; export declare function cliAuthenticate(options: InputOptions): Promise<IUser>; declare const _default: { cliLogin: (options: CliLoginOptions) => Promise<IUser>; cliLogout: () => Promise<any[]>; cliAuthenticate: typeof cliAuthenticate; }; export default _default; //# sourceMappingURL=account.d.ts.map