morpheus4j
Version:
Morpheus is a migration tool for Neo4j. It aims to be a simple and intuitive way to migrate your database.
30 lines (29 loc) • 1.15 kB
TypeScript
import { Command, Interfaces } from '@oclif/core';
import { Neo4jConfig } from './types';
export type Flags<T extends typeof Command> = Interfaces.InferredFlags<(typeof BaseCommand)['baseFlags'] & T['flags']>;
export type Args<T extends typeof Command> = Interfaces.InferredArgs<T['args']>;
export declare abstract class BaseCommand<T extends typeof Command> extends Command {
static baseFlags: {
debug: Interfaces.BooleanFlag<boolean>;
};
static enableJsonFlag: boolean;
static flags: {
database: Interfaces.Flag<any>;
password: Interfaces.Flag<any>;
username: Interfaces.Flag<any>;
host: Interfaces.Flag<any>;
port: Interfaces.Flag<any>;
scheme: Interfaces.Flag<any>;
configFile: Interfaces.Flag<any>;
migrationsPath: Interfaces.Flag<any>;
};
protected args: Args<T>;
protected flags: Flags<T>;
protected catch(err: {
exitCode?: number;
} & Error): Promise<any>;
protected finally(_: Error | undefined): Promise<any>;
protected getConfig(): Neo4jConfig;
protected getConfigFile(): string;
init(): Promise<void>;
}