import {Command, command, metadata, option, Options, param, params} from 'clime';
import Repo from "../lib/repo";

export class RepoOptions extends Options {
    @option({
        flag: 'd',
        description: 'Location where models will be installed',
    })
    nestDirectory?: string;
}

@command({
    description: 'Initialize model nest',
})
export default class extends Command {
    @metadata
    async execute(
        options: RepoOptions,
    ) {
        const repo = new Repo(process.cwd());
        repo.init(options.nestDirectory);
    }
}
