Skip to content

edit command now uses options decorator#215

Merged
tleonhardt merged 2 commits intomasterfrom
edit_options
Aug 21, 2017
Merged

edit command now uses options decorator#215
tleonhardt merged 2 commits intomasterfrom
edit_options

Conversation

@tleonhardt
Copy link
Copy Markdown
Member

Converted edit command to an @options command for the better argument parsing related to spaces and quotes

The recent change of edit to allow spaces means that it can benefit from the better argument parsing cmd2 has for commands implemented using the @options decorator.

… parsing related to spaces and quotes

The recent change of edit to allow spaces means that it can benefit from the better argument parsing cmd2 has for commands implemented using the @options decorator.
Also fixed a 2nd unrelated unit test which sometimes failed on Windows, depending on what tools were installed or not.
@tleonhardt tleonhardt added this to the 0.7.7 milestone Aug 21, 2017
@tleonhardt tleonhardt self-assigned this Aug 21, 2017
@codecov
Copy link
Copy Markdown

codecov Bot commented Aug 21, 2017

Codecov Report

Merging #215 into master will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #215      +/-   ##
==========================================
+ Coverage   96.74%   96.74%   +<.01%     
==========================================
  Files           1        1              
  Lines        1166     1167       +1     
==========================================
+ Hits         1128     1129       +1     
  Misses         38       38
Impacted Files Coverage Δ
cmd2.py 96.74% <100%> (ø) ⬆️

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 eae9157...d0acb8d. Read the comment docs.

@tleonhardt tleonhardt changed the title **edit** command now uses options decorator edit command now uses options decorator Aug 21, 2017
@tleonhardt tleonhardt merged commit 3a842ab into master Aug 21, 2017
@tleonhardt tleonhardt deleted the edit_options branch August 21, 2017 17:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant