Skip to content

Home > vue-metamorph > createVueMetamorphCli

createVueMetamorphCli() function

Creates a CLI instance

Signature:

typescript
export declare function createVueMetamorphCli(options: CreateVueMetamorphCliOptions): {
    run: (argv?: string[]) => Promise<void>;
    abort: () => void;
    opts: (argv?: string[]) => import("commander").OptionValues;
};

Parameters

Parameter

Type

Description

options

CreateVueMetamorphCliOptions

**Returns:**

{ run: (argv?: string[]) => Promise<void>; abort: () => void; opts: (argv?: string[]) => import("commander").OptionValues; }