tbarlow12 / projector

The create-react-app for CSE projects
2 stars 0 forks source link

Fixes bug where -h option would not display full help. #24

Closed zmmille2 closed 3 years ago

zmmille2 commented 3 years ago

Previously, running cse -h would display the following:

zach@DESKTOP-LKS7HLF cse-cli % cse -h
Usage: init [options]

Backlog Initialization

Options:
  -h, --help  display help for command

Whereas running cse would display the following:

zach@DESKTOP-LKS7HLF cse-cli % cse
   ____ ____  _____ 
  / ___/ ___|| ____|
 | |   \___ \|  _|  
 | |___ ___) | |___ 
  \____|____/|_____|

Usage: cse [options] [command]

CSE Bootstrap CLI

Options:
  -h, --help  display help for command

Commands:
  backlog     Backlog management
  init        Local Configuration Initialization
  playbook    CSE playbook for the way we do work
  links       Open useful links

This PR unifies these responses to both use the cse output.

codecov[bot] commented 3 years ago

Codecov Report

Merging #24 (92dfc56) into master (a5c94d9) will increase coverage by 0.11%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #24      +/-   ##
==========================================
+ Coverage   81.81%   81.93%   +0.11%     
==========================================
  Files          45       45              
  Lines         473      476       +3     
  Branches       62       62              
==========================================
+ Hits          387      390       +3     
  Misses         86       86              
Impacted Files Coverage Δ
src/commands/cse.ts 100.00% <ø> (ø)
src/extensions/command.ts 100.00% <100.00%> (ø)
src/utils/userUtils.ts 37.50% <100.00%> (+20.83%) :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 a5c94d9...92dfc56. Read the comment docs.