Variables
Const _version
_version: "v0.2.0" = "v0.2.0"
Const args
args: any = parser.parseArgs()
Const commands
commands: any[] = args.command
Const exprs
exprs: any[] = args.expr
Const flatcommands
flatcommands: string[] = [].concat(...commands)
Const flatexprs
flatexprs: string[] = [].concat(...exprs)
Const parser
parser: ArgumentParser = new ArgumentParser({version: _version,addHelp: true,description: "Filesystem watcher"})
Const watcher
watcher
: WatchFS = new WatchFS(flatexprs)
Initiaze argument parser