Options
All
  • Public
  • Public/Protected
  • All
Menu

Module replicant

Index

Variables

Const cli

cli: Command = program

Functions

isInstanceOptions

  • isInstanceOptions(obj: any): obj is InstanceOptions
  • Check if the object has the needed InstanceOptions properties and if they are not empty strings.

    Parameters

    • obj: any

    Returns obj is InstanceOptions

processLogging

  • processLogging(options: any): void
  • starts logger with default config if logging is true

    Parameters

    • options: any

      //expected to be the rest of a command actions function parameters e.g. cli.command('count ') .description('Counts something') .action(async (count: number, options: any) => { ... }

    Returns void

readInstanceOptionsConfigJson

  • readInstanceOptionsConfigJson(path: string): Promise<InstanceOptions>
  • Reads the file specified with path and parses it to JSON Checks if the file contains all necessary InstanceOption properties

    Parameters

    • path: string

    Returns Promise<InstanceOptions>

Object literals

Const SmilerAccessGroups

SmilerAccessGroups: object

Those are the access groups of the whole application.

clinic

clinic: string = "clinic"

Generated using TypeDoc