Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • ImportOptions

Index

Properties

dir?: string

The path to the app to be imported

interactive?: boolean

Whether to use sensible defaults or prompt the user visually

outDir?: string

The path to the directory containing generated distributables

Methods

  • confirmImport(): Promise<boolean>
  • shouldContinueOnExisting(): Promise<boolean>
  • shouldRemoveDependency(dependency: string, explanation: string): Promise<boolean>
  • An async function that returns whether the given dependency should be removed

    Parameters

    • dependency: string
    • explanation: string

    Returns Promise<boolean>

  • shouldUpdateScript(scriptName: string, newValue: string): Promise<boolean>
  • An async function that returns whether the given script should be overridden with a forge one

    Parameters

    • scriptName: string
    • newValue: string

    Returns Promise<boolean>