timfeirg / lain-cli

DevOps with minimum effort.
https://lain-cli.readthedocs.io/en/latest/
MIT License
31 stars 9 forks source link

[lain lint] give user appropriate docs url on error #20

Closed timfeirg closed 2 years ago

timfeirg commented 2 years ago

为了进一步提升易用性, 和文档可发现性, 今后 lain 会在合适的时候给出相关文档链接, 所有报错的地方, 如果有对应的文档可参考, 都会随着错误信息一并附上.

image
codecov-commenter commented 2 years ago

Codecov Report

Merging #20 (b69534b) into master (ab35d18) will increase coverage by 0.18%. The diff coverage is 20.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #20      +/-   ##
==========================================
+ Coverage   56.52%   56.71%   +0.18%     
==========================================
  Files          14       14              
  Lines        3740     3747       +7     
==========================================
+ Hits         2114     2125      +11     
+ Misses       1626     1622       -4     
Impacted Files Coverage Δ
lain_cli/lain.py 54.19% <0.00%> (+0.04%) :arrow_up:
lain_cli/utils.py 70.31% <20.00%> (+0.29%) :arrow_up:
lain_cli/prometheus.py 20.19% <50.00%> (+0.77%) :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 ab35d18...b69534b. Read the comment docs.