[TIMOB-27764] Add support for loading global CLI plugins from local directory
This would allow a developer to put a global plugin in the local plugins directory and have it use this.
The global plugin would need to be named "titanium-global-plugin.js"
Currently the first batch of hooks used by the CLI cannot be used by local plugins and can only be used by global plugins. Doing this would remove one of the last obstacles for using global plugins as it could then be used on a per-project basis, if desired.
| Warnings | |
|---|---|
| :warning: |
lib/cli.js#L322 - lib/cli.js line 322 – Expected an assignment or function call and instead saw an expression. (no-unused-expressions) |
| :warning: |
lib/cli.js#L618 - lib/cli.js line 618 – 'cb' is defined but never used. Allowed unused args must match /^_.+/u. (no-unused-vars) |
| :warning: |
lib/cli.js#L833 - lib/cli.js line 833 – Missing JSDoc @returns for function. (valid-jsdoc) |
| :warning: |
lib/cli.js#L835 - lib/cli.js line 835 – Missing JSDoc parameter description for 'items'. (valid-jsdoc) |
| :warning: |
lib/cli.js#L903 - lib/cli.js line 903 – 'cb' is defined but never used. Allowed unused args must match /^_.+/u. (no-unused-vars) |
| :warning: |
lib/hook.js#L140 - lib/hook.js line 140 – Empty block statement. (no-empty) |
| :warning: |
lib/hook.js#L148 - lib/hook.js line 148 – Empty block statement. (no-empty) |
| Messages | |
|---|---|
| :book: |
:white_check_mark: All tests are passing Nice one! All 100 tests are passing. |
Generated by :no_entry_sign: dangerJS against 6f6df07c4ace46441760600b4eb926d758f5db03