Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "scripts"

Index

Variables

Const sanitizeFilename

sanitizeFilename: any = require('sanitize-filename')

Functions

executeShellScriptCommand

  • executeShellScriptCommand(commandName: any, args: any[]): boolean
  • Tries to executes a command as bash script.

    Parameters

    • commandName: any

      The name of the command.

    • args: any[]

      The list of arguments for the script.

    Returns boolean

    A shell script has been executed or not.

getShellScriptExtension

  • getShellScriptExtension(): string
  • Returns the file extension for shell scripts for the current platform.

    Returns string

    The extension.

Generated using TypeDoc