Skip to content

Home > vue-metamorph > CreateVueMetamorphCliOptions

CreateVueMetamorphCliOptions interface

vue-metamorph CLI Options

Signature:

typescript
export interface CreateVueMetamorphCliOptions

Properties

Property

Modifiers

Type

Description

additionalCliOptions?

(program: Pick<Command, 'option' | 'requiredOption'>) => void

(Optional) Add additional commander options to access with opts()

onProgress?

ProgressCallback

(Optional) The vue-metamorph CLI will call this function when a file has been transformed and written back to disk

plugins

(Plugin | Plugin[])[]

List of codemods / manual migrations to run against matching files

silent?

boolean

(Optional) Whether to suppress the default output of vue-metamorph's CLI

If you set this to true, use the onProgress function to define your own output