Files
power-apps-codeapps-pipelines/CodeApp_NeonReactor/node_modules/@microsoft/power-apps-cli/dist/CliUtils.d.ts
T
2026-07-12 15:11:38 +02:00

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