UNPKG

appwrite-utils-cli

Version:

Appwrite Utility Functions to help with database management, data conversion, data import, migrations, and much more. Meant to be used as a CLI tool, I do not recommend installing this in frontend environments.

32 lines (31 loc) 976 B
export declare class InteractiveCLI { private currentDir; private controller; private isUsingTypeScriptConfig; private lastSelectedCollectionIds; constructor(currentDir: string); run(): Promise<void>; private initControllerIfNeeded; private manageBuckets; private selectDatabases; private selectCollections; /** * Enhanced collection/table selection with better guidance for mixed scenarios */ private selectCollectionsAndTables; private getTemplateDefaults; private findFunctionInSubdirectories; private selectFunctions; private getLocalFunctions; private selectBuckets; private configureBuckets; private createNewBucket; private getLocalCollections; private getLocalDatabases; /** * Extract session information from current controller for preservation */ private extractSessionFromController; private detectConfigurationType; private buildChoicesList; }