21 lines
1004 B
TypeScript
21 lines
1004 B
TypeScript
import type { Region } from '@microsoft/power-apps-common/services';
|
|
import type { CliOption, DefaultStringOption } from './Types/Argument.types.js';
|
|
/**
|
|
* Prompts the user for text input. Exits the process if the user cancels.
|
|
*/
|
|
export declare function promptText(options: {
|
|
message: string;
|
|
initialValue?: string;
|
|
}): Promise<string>;
|
|
/**
|
|
* Prompts the user for confirmation. Exits the process if the user cancels.
|
|
*/
|
|
export declare function promptConfirm(options: {
|
|
message: string;
|
|
initialValue?: boolean;
|
|
}): Promise<boolean>;
|
|
export declare function createDefaultStringOption(options: DefaultStringOption): CliOption<string>;
|
|
export declare function isGuid(value: string): boolean;
|
|
export declare function createPlayUrl(region: Region, environmentId: string, appId: string, localAppUrl?: string, localConnectionsUrl?: string): string;
|
|
export declare function getAuthority(region: Region | undefined, tenantId: string | undefined): string;
|
|
//# sourceMappingURL=CliUtils.d.ts.map
|