rsm-hcd / AndcultureCode.Cli

and-cli command-line tool to manage the development of software applications
https://andculture.com
Apache License 2.0
14 stars 15 forks source link

Issue #110 Parsing short-circuits prematurely when command without flags given but no matching alias is found #111

Closed brandongregoryscott closed 4 years ago

brandongregoryscott commented 4 years ago

Fixes #110

Fix mutated process.argv reference which was popping the last argument off the array when preprocessing for aliases, which would cause the help menu to be displayed when a single command was specified but matched no defined aliases

codecov[bot] commented 4 years ago

Codecov Report

Merging #111 into main will not change coverage. The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #111   +/-   ##
=======================================
  Coverage   79.58%   79.58%           
=======================================
  Files          25       25           
  Lines         926      926           
  Branches      136      136           
=======================================
  Hits          737      737           
  Misses        162      162           
  Partials       27       27           
Impacted Files Coverage Δ
modules/command-registry.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 73c2d2d...45490a6. Read the comment docs.