UNPKG

piral-cli

Version:

The standard CLI for creating and building a Piral instance or a Pilet.

11 lines (10 loc) 467 B
import { Agent } from 'https'; import { PublishScheme } from '../types'; export declare function promptSelect(message: string, values: Array<string>, defaultValue: string): Promise<string>; export declare function promptConfirm(message: string, defaultValue: boolean): Promise<boolean>; type TokenResult = Promise<{ mode: PublishScheme; token: string; }>; export declare function getTokenInteractively(url: string, httpsAgent: Agent): TokenResult; export {};