ArgumentParser

Vocality DocumentationGlobalsArgumentParser

Hierarchy

  • ArgumentParser

Index

Methods

Methods

Static parseInput

parseInput(msg: string): string[]

Defined in packages/vocality-core/src/utils/ArgumentParser.ts:10

Checks if the input is empty and returns array of arguments

Parameters:

NameType
msgstring

Returns: string[]


Static validateArguments

validateArguments(command: Command, args: string[]): void

Defined in packages/vocality-core/src/utils/ArgumentParser.ts:18

Parameters:

NameType
commandCommand
argsstring[]

Returns: void