adobe / aio-cli-plugin-console

Adobe's Developer Console plugin for the Adobe I/O CLI
https://www.adobe.io
Apache License 2.0
6 stars 11 forks source link

fix: standardize format of command calls and error reporting #140

Closed shazron closed 4 years ago

shazron commented 4 years ago

add exitCode for failed selection calls that call printConsoleConfig cleaned up tests moved console api calls to BaseCommand

How Has This Been Tested?

npm test tested all aio console:* calls

Types of changes

Checklist:

codecov[bot] commented 4 years ago

Codecov Report

Merging #140 into master will not change coverage. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##            master      #140   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           12        12           
  Lines          314       323    +9     
  Branches        32        33    +1     
=========================================
+ Hits           314       323    +9     
Impacted Files Coverage Δ
src/commands/console/index.js 100.00% <100.00%> (ø)
src/commands/console/org/list.js 100.00% <100.00%> (ø)
src/commands/console/org/select.js 100.00% <100.00%> (ø)
src/commands/console/project/list.js 100.00% <100.00%> (ø)
src/commands/console/project/select.js 100.00% <100.00%> (ø)
src/commands/console/workspace/download.js 100.00% <100.00%> (ø)
src/commands/console/workspace/list.js 100.00% <100.00%> (ø)
src/commands/console/workspace/select.js 100.00% <100.00%> (ø)

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 be6ad12...51c6b92. Read the comment docs.