Skip to content

Conversation

@tleonhardt
Copy link
Member

Cleaned up clipboard/pastebuffer functionality by moving it from cmd2.py to a new file clipboard.py.

Also:

  • Converted global can_clip variable to an instance attribute of cmd2.Cmd class

This closes #412

Also:
- Converted global can_clip variable to an instance attribute of cmd2.Cmd class
@tleonhardt tleonhardt added this to the 0.9.2 milestone Jun 18, 2018
@tleonhardt tleonhardt self-assigned this Jun 18, 2018
@tleonhardt tleonhardt requested a review from kotfu June 18, 2018 04:22
@tleonhardt tleonhardt requested a review from kmvanbrunt as a code owner June 18, 2018 04:22
@codecov
Copy link

codecov bot commented Jun 18, 2018

Codecov Report

Merging #445 into master will increase coverage by <.01%.
The diff coverage is 95.65%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #445      +/-   ##
==========================================
+ Coverage   90.21%   90.22%   +<.01%     
==========================================
  Files           9       10       +1     
  Lines        2740     2742       +2     
==========================================
+ Hits         2472     2474       +2     
  Misses        268      268
Impacted Files Coverage Δ
cmd2/cmd2.py 90.5% <100%> (-0.04%) ⬇️
cmd2/clipboard.py 94.44% <94.44%> (ø)

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 b5def93...88b94f8. Read the comment docs.

@tleonhardt
Copy link
Member Author

This is a pretty innocuous PR, so I'm going to merge it in without review. If anyone wants, we can change something later.

@tleonhardt tleonhardt merged commit 52795b7 into master Jun 21, 2018
@tleonhardt tleonhardt deleted the cleanup_clip branch June 21, 2018 01:23
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.

Cleanup clip and paste buffer functions

2 participants