Skip to content

Conversation

tleonhardt
Copy link
Member

I updated the documentation about how to update shortcuts to make it clear that you need to update the shortcuts dictionary attribute prior to calling the `cmd2.Cmd.init()`` base class initializer.

I also modified the arg_print.py example to give a good example of doing this.

This partially addresses #233

…attribute before calling super class __init__
@tleonhardt tleonhardt added this to the 0.7.9 milestone Nov 9, 2017
@tleonhardt tleonhardt self-assigned this Nov 9, 2017
@codecov
Copy link

codecov bot commented Nov 9, 2017

Codecov Report

Merging #235 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #235   +/-   ##
=======================================
  Coverage   96.88%   96.88%           
=======================================
  Files           1        1           
  Lines        1220     1220           
=======================================
  Hits         1182     1182           
  Misses         38       38

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 24af59e...5fa0916. Read the comment docs.

@tleonhardt tleonhardt merged commit af06c06 into master Nov 9, 2017
@tleonhardt tleonhardt deleted the command_aliases branch November 9, 2017 07:46
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