@onboardbase/cli
Version:
[](https://www.npmjs.com/package/@onboardbase/cli) [](https://www.npmjs.com/package/@onboardbase/cli) [ • 1.16 kB
TypeScript
/// <reference types="node" />
import { Command } from "@oclif/config";
export declare type LoginInput = {
flags?: {
password: string;
scope?: string;
overwrite: boolean;
};
shouldCloseProcess: boolean;
additionalProcesses?: {
nextFunc: (executor: Command) => Promise<void>;
executor: Command;
};
};
export declare type HandleAuthenticationInput = {
pollingCode: string;
newConfig: {
scope: string;
token: any;
};
flags: {
password: string;
overwrite: boolean;
};
shouldCloseProcess: boolean;
additionalProcesses: {
nextFunc: (executor: Command) => Promise<void>;
executor: Command;
};
};
export declare type HandlePollingAtIntervalInput = HandleAuthenticationInput & {
intervalHandler: NodeJS.Timeout;
intervalTimeout: NodeJS.Timeout;
};
export declare type HandleSuccessfulAuthInput = Omit<HandlePollingAtIntervalInput, "pollingCode"> & {
authTokenResponse: any;
};
export declare type AuthCommandFlag = {
password: string;
scope?: string;
shouldCloseProcess?: boolean;
overwrite: boolean;
};