Documentation
    Preparing search index...

    The index generator creates a commands loader that can be lazily imported.

    Also, a commands.json index file is created that has metadata for all the files. Doing so speeds up commands lookup, as we do not have to import all the classes just to find if a command exists or not.

    const generator = new IndexGenerator('./build/commands')
    await generator.generate()
    Index

    Constructors

    Methods

    Constructors

    Methods

    • Generate the commands index files (commands.json, main.js, main.d.ts)

      Returns Promise<any>

      await generator.generate()