Function makeArgs

  • Strips out the filename from argv, based on whether the running app is electron or not.

    Standard node apps: node bin.js argv1 argv2 ... argvn converts to argv1 argv2 ... argvn

    Bundled Electron apps: bin argv1 argv2 ... argvn converts to argv1 argv2 ... argvn

    Returns

    the arguments without the filename

    Parameters

    • Optional argv: string[]

      the argv to process from (defaults to process.argv)

    Returns string[]

Generated using TypeDoc