Skip to content

Conversation

kmvanbrunt
Copy link
Member

  • Fixed prog value of subcommands added with as_subcommand_to() decorator.
  • Fixed missing settings in subcommand parsers created with as_subcommand_to() decorator. These settings include things like description and epilog text.

Fixed missing settings in subcommand parsers created with as_subcommand_to() decorator.
Changed alias and macro commands to use as_subcommand_to() decorator.
Updated CommandSet subcommand example to use help and description text.
@kmvanbrunt kmvanbrunt requested a review from anselor August 7, 2020 19:55
@codecov
Copy link

codecov bot commented Aug 7, 2020

Codecov Report

Merging #969 into master will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #969   +/-   ##
=======================================
  Coverage   97.79%   97.80%           
=======================================
  Files          22       22           
  Lines        4493     4508   +15     
=======================================
+ Hits         4394     4409   +15     
  Misses         99       99           
Impacted Files Coverage Δ
cmd2/cmd2.py 97.17% <100.00%> (+0.02%) ⬆️
cmd2/constants.py 100.00% <100.00%> (ø)
cmd2/decorators.py 97.14% <100.00%> (-0.03%) ⬇️

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 47568c0...a04fdb5. Read the comment docs.

anselor
anselor previously approved these changes Aug 7, 2020
@kmvanbrunt kmvanbrunt merged commit 2674341 into master Aug 7, 2020
@kmvanbrunt kmvanbrunt deleted the subcmd_fix branch August 7, 2020 22:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants