cmmorrow / build-magic

A general purpose build/install/deploy tool.
MIT License
9 stars 2 forks source link

add_info_command #73

Closed cmmorrow closed 2 years ago

cmmorrow commented 2 years ago

Added --info to the CLI. Refactored the CLI so that --template is an eager option. Broke out --fancy into its own option. Refactored the CLI so that the display type is set in callbacks. Added new tests.

Closes #43

codecov-commenter commented 2 years ago

Codecov Report

Merging #73 (3d463c7) into main (9115c57) will increase coverage by 0.17%. The diff coverage is 99.04%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #73      +/-   ##
==========================================
+ Coverage   95.77%   95.94%   +0.17%     
==========================================
  Files          10       10              
  Lines        1490     1554      +64     
==========================================
+ Hits         1427     1491      +64     
  Misses         63       63              
Flag Coverage Δ
unittests 95.94% <99.04%> (+0.17%) :arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
build_magic/cli.py 99.20% <99.00%> (+0.26%) :arrow_up:
build_magic/core.py 97.10% <100.00%> (ø)
build_magic/reference.py 99.38% <100.00%> (+<0.01%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 9115c57...3d463c7. Read the comment docs.