autohooks icon indicating copy to clipboard operation
autohooks copied to clipboard

Plugin CLI

Open bjoernricks opened this issue 2 years ago • 1 comments

What:

Add a new CLI for adding, removing and listing autohooks plugins

Why:

Make plugin handling easier. Currently the plugins need to be changed by editing the pyproject.toml file manually. This requires users to know TOML.

How:

Checklist:

  • [x] Tests
  • [x] PR merge commit message adjusted
  • [x] Documentation

bjoernricks avatar Aug 11 '22 14:08 bjoernricks

Codecov Report

Merging #347 (9df5532) into main (65d670d) will increase coverage by 1.28%. The diff coverage is 98.03%.

@@            Coverage Diff             @@
##             main     #347      +/-   ##
==========================================
+ Coverage   88.16%   89.45%   +1.28%     
==========================================
  Files          13       14       +1     
  Lines         600      692      +92     
==========================================
+ Hits          529      619      +90     
- Misses         71       73       +2     
Impacted Files Coverage Δ
autohooks/settings.py 100.00% <ø> (ø)
autohooks/cli/check.py 98.11% <90.00%> (-1.89%) :arrow_down:
autohooks/cli/plugins.py 98.68% <98.68%> (ø)
autohooks/precommit/run.py 52.63% <100.00%> (+9.59%) :arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

codecov[bot] avatar Aug 11 '22 14:08 codecov[bot]