Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • UserScript

Index

Constructors

Properties

argumentDefault?: string
argumentDescription?: string
arrayStarted: boolean = false
backgroundOnly: boolean = false
clearLog: boolean = false
description?: string
dirName: string
foregroundOnly: boolean = false
interpreter: string = '/bin/bash'
name: string
noParity: boolean = false
schedule?: Schedule
script: string

Methods

  • abort(): Promise<void>
  • running(byPassCache?: boolean): Promise<boolean>
  • Start the userscript in foreground mode

    Parameters

    • Optional inputParameterCallback: (description: string, defaultValue?: string) => Promise<string>

      This callback gets called if an argument for the script is required

        • (description: string, defaultValue?: string): Promise<string>
        • Parameters

          • description: string
          • Optional defaultValue: string

          Returns Promise<string>

    Returns Promise<[EventEmitter, CancelFunction, Promise<IExecuteStreamResult>]>

  • startBackground(): Promise<void>

Generated using TypeDoc