@curvenote/cli
Version:
CLI Client library for Curvenote
17 lines • 642 B
TypeScript
import type { ISession } from '../session/types.js';
export declare function ensureVenue(session: ISession, venue: string | undefined, opts?: {
yes?: boolean;
action?: string;
}): Promise<any>;
export declare function venueQuestion(session: ISession, action?: string): {
name: string;
type: string;
message: string;
filter: (venue: string) => string;
validate: (venue: string) => Promise<string | true>;
};
/**
* Ensure that a `site` exists by performing a basic request to the Site
*/
export declare function checkVenueExists(session: ISession, venue: string): Promise<void>;
//# sourceMappingURL=utils.d.ts.map