Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add plugins #37

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Add plugins #37

wants to merge 6 commits into from

Conversation

gonzofish
Copy link
Owner

Addresses #36

What was changed

  • Added a files utility to load a module (loadModule)
  • Added a config option for plugins, which is an Array<string> where each item is a Node package name
  • Change the unknown command fallback to check plugins for a matching command first

@gonzofish gonzofish added the enhancement New feature or request label Feb 26, 2023
@gonzofish gonzofish self-assigned this Feb 26, 2023
@codecov-commenter
Copy link

codecov-commenter commented Feb 26, 2023

Codecov Report

Base: 100.00% // Head: 100.00% // No change to project coverage 👍

Coverage data is based on head (bbc728a) compared to base (5d5eb84).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff            @@
##            master       #37   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           16        16           
  Lines          555       579   +24     
=========================================
+ Hits           555       579   +24     
Impacted Files Coverage Δ
lib/utils/files.util.js 100.00% <ø> (ø)
lib/index.js 100.00% <100.00%> (ø)
lib/utils/config.util.js 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

Makes it so we can use the project's root path to find modules and not Talc's
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants