reanahub / reana-client

REANA command-line client
http://reana-client.readthedocs.io/
MIT License
10 stars 45 forks source link

quota-show: display raw values by default #576

Closed mvidalgarcia closed 2 years ago

mvidalgarcia commented 2 years ago

closes #575

# limits
$ reana-client quota-show --resource cpu -h
42s out of 8m 20s used (9%)
$ reana-client quota-show --resource cpu   
42622 out of 500000 used (9%)

# no limits
$ reana-client quota-show --resource disk -h
7.46 KiB used 
$ reana-client quota-show --resource disk   
7638 used 
codecov-commenter commented 2 years ago

Codecov Report

Merging #576 (bc2b2c4) into master (ac64266) will decrease coverage by 0.00%. The diff coverage is 20.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #576      +/-   ##
==========================================
- Coverage   58.62%   58.61%   -0.01%     
==========================================
  Files          20       20              
  Lines        2436     2433       -3     
==========================================
- Hits         1428     1426       -2     
+ Misses       1008     1007       -1     
Impacted Files Coverage Δ
reana_client/config.py 100.00% <ø> (ø)
reana_client/cli/quotas.py 36.53% <20.00%> (+0.68%) :arrow_up: